-[%- USE HTML %][% USE JSON %][
-[%- FOREACH customer = SELF.customers %]
- {
- "value": [% customer.${SELF.value}.json %],
- "label": [% customer.displayable_name.json %],
- "id": [% customer.id.json %],
- "customernumber": [% customer.customernumber.json %],
- "name": [% customer.name.json %]
- }[% ',' UNLESS loop.last %]
-[%- END %]
-]