Test::Exception und Test::Output für Testsuite voraussetzen
[kivitendo-erp.git] / templates / webpages / part / ajax_autocomplete.html
1 [%- USE HTML %][% USE JSON %][
2 [%- FOREACH part = SELF.parts %]
3 [%- ajax_autocomplete__label = part.partnumber _ " " _ part.description %]
4  {
5    "value": [% part.${SELF.value}.json %],
6    "label": [% ajax_autocomplete__label.json %],
7    "id": [% part.id.json %],
8    "partnumber": [% part.partnumber.json %],
9    "description": [% part.description.json %],
10    "type": [% part.type.json %]
11   }[% ',' UNLESS loop.last %]
12 [%- END %]
13 ]