X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Fprice_rule%2Fitem.html;h=a6eaa5144967d67816303e83f383b30b21bbe450;hb=108f7a8c7ba3137f0e0bcf5142b0269dd25b1115;hp=b9f9618f8e352fef2bd9afef8acc6d08323e5094;hpb=3f5c7866bc6ee20f028afa3862de2e14745bf795;p=kivitendo-erp.git
diff --git a/templates/webpages/price_rule/item.html b/templates/webpages/price_rule/item.html
index b9f9618f8..a6eaa5144 100644
--- a/templates/webpages/price_rule/item.html
+++ b/templates/webpages/price_rule/item.html
@@ -13,7 +13,7 @@
[ 'lt', LxERP.t8('is before') ],
] %]
-
![[% 'Remove' | $T8 %]](image/cross.png)
+
â
[% L.hidden_tag('price_rule.items[+].id', item.id) %]
[% L.hidden_tag('price_rule.items[].type', item.type) %]
[%- SWITCH item.type %]
@@ -22,11 +22,11 @@
[% CASE 'customer' %]
[% 'Customer' | $T8 %] [% 'is' | $T8 %] [% L.customer_vendor_picker('price_rule.items[].value_int', item.customer, type='customer') %]
[% CASE 'vendor' %]
- [% 'Vendor' | $T8 %] [% 'is' | $T8 %] [% L.vendor_vendor_picker('price_rule.items[].value_int', item.customer, type='vendor') %]
+ [% 'Vendor' | $T8 %] [% 'is' | $T8 %] [% L.customer_vendor_picker('price_rule.items[].value_int', item.vendor, type='vendor') %]
[% CASE 'business' %]
[% 'Type of Business' | $T8 %] [% 'is' | $T8 %] [% L.select_tag('price_rule.items[].value_int', SELF.businesses, title_key='description', default=item.value_int) %]
[% CASE 'partsgroup' %]
- [% 'Group' | $T8 %] [% 'is' | $T8 %] [% L.select_tag('price_rule.items[].value_int', SELF.partsgroups, title_key='partsgroup', default=item.value_int) %]
+ [% 'Partsgroup' | $T8 %] [% 'is' | $T8 %] [% L.select_tag('price_rule.items[].value_int', SELF.partsgroups, title_key='partsgroup', default=item.value_int) %]
[% CASE 'qty' %]
[% 'Quantity' | $T8 %] [% L.select_tag('price_rule.items[].op', num_compare_ops, default=item.op) %] [% L.input_tag('price_rule.items[].value_num_as_number', item.value_num_as_number) %]
[% CASE 'reqdate' %]