X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fprice_rule%2Fitem.html;h=e0906669db60680bd36eb0b2fc6d640ec060e555;hb=8ec984acf7c46bde9a1da0e060503218e33e5b25;hp=1bff4b9b9b286286d7c4ba7fa62952b955b95c51;hpb=78df36d13721e785efbfcc6c17e400bb87cdc6e7;p=kivitendo-erp.git diff --git a/templates/webpages/price_rule/item.html b/templates/webpages/price_rule/item.html index 1bff4b9b9..e0906669d 100644 --- a/templates/webpages/price_rule/item.html +++ b/templates/webpages/price_rule/item.html @@ -4,8 +4,8 @@ [%- USE LxERP %] [% SET num_compare_ops = [ [ 'eq', LxERP.t8('is equal to') ], - [ 'lt', LxERP.t8('is lower than') ], - [ 'gt', LxERP.t8('is greater than') ], + [ 'le', LxERP.t8('is lower than or equal') ], + [ 'ge', LxERP.t8('is greater than or equal') ], ] %] [% SET date_compare_ops = [ [ 'eq', LxERP.t8('is equal to') ], @@ -13,7 +13,7 @@ [ 'lt', LxERP.t8('is before') ], ] %]
-[% 'Remove' | $T8 %] +✘ [% L.hidden_tag('price_rule.items[+].id', item.id) %] [% L.hidden_tag('price_rule.items[].type', item.type) %] [%- SWITCH item.type %] @@ -22,15 +22,17 @@ [% 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' %] [% 'Reqdate' | $T8 %] [% L.select_tag('price_rule.items[].op', date_compare_ops, default=item.op) %] [% L.date_tag('price_rule.items[].value_date', item.value_date) %] + [% CASE 'transdate' %] + [% 'Transdate Record' | $T8 %] [% L.select_tag('price_rule.items[].op', date_compare_ops, default=item.op) %] [% L.date_tag('price_rule.items[].value_date', item.value_date) %] [% CASE 'pricegroup' %] [% 'Pricegroup' | $T8 %] [% 'is' | $T8 %] [% L.select_tag('price_rule.items[].value_int', SELF.pricegroups, title_key='pricegroup', default=item.value_int) %] [% CASE %]