projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rp.pl::report auf template umgestellt.
[kivitendo-erp.git]
/
templates
/
webpages
/
part
/
ajax_autocomplete.html
diff --git
a/templates/webpages/part/ajax_autocomplete.html
b/templates/webpages/part/ajax_autocomplete.html
index
749cdc1
..
53fa6f0
100644
(file)
--- a/
templates/webpages/part/ajax_autocomplete.html
+++ b/
templates/webpages/part/ajax_autocomplete.html
@@
-1,8
+1,9
@@
-[%- USE HTML %][%
USE JSON %][
+[%- USE HTML %][% USE JSON %][
[%- FOREACH part = SELF.parts %]
[%- FOREACH part = SELF.parts %]
+[%- ajax_autocomplete__label = part.partnumber _ " " _ part.description %]
{
{
- "label": [% JSON.json(part.partnumber _ " " _ part.description) %],
"value": [% part.${SELF.value}.json %],
"value": [% part.${SELF.value}.json %],
+ "label": [% ajax_autocomplete__label.json %],
"id": [% part.id.json %],
"partnumber": [% part.partnumber.json %],
"description": [% part.description.json %],
"id": [% part.id.json %],
"partnumber": [% part.partnumber.json %],
"description": [% part.description.json %],