SL::DB::CustomVariable::value an Customer angepasst
[kivitendo-erp.git] / templates / webpages / ct / ajax_autocomplete2.json
1 [%- USE HTML %][% USE JSON %][
2 [%- FOREACH customer = SELF.customers %]
3  {
4    "value": [% customer.${SELF.value}.json %],
5    "label": [% customer.displayable_name.json %],
6    "id": [% customer.id.json %],
7    "customernumber": [% customer.customernumber.json %],
8    "name": [% customer.name.json %]
9   }[% ',' UNLESS loop.last %]
10 [%- END %]
11 ]