X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/594592cb506fcd82a45117653d7a1ab51ca8b446..fbcd5580:/templates/webpages/price_rule/form.html
diff --git a/templates/webpages/price_rule/form.html b/templates/webpages/price_rule/form.html
index 62d798841..51f6066d3 100644
--- a/templates/webpages/price_rule/form.html
+++ b/templates/webpages/price_rule/form.html
@@ -15,12 +15,6 @@
[% 'Name' | $T8 %] |
[% L.input_tag("price_rule.name", SELF.price_rule.name, size=60, class='initial_focus') %] |
-[%- IF 0 %]
-
- | [% 'Type' | $T8 %] |
- [% L.select_tag("price_rule.type", [ [ 'sales', LxERP.t8('Sales')], [ 'purchase', LxERP.t8('Purchase') ] ], default=SELF.price_rule.type) %] |
-
-[%- END %]
| [% 'Priority' | $T8 %] |
[% L.select_tag('price_rule.priority', [ [3, LxERP.t8('Normal') ], [ 4, LxERP.t8('Override') ] ], default=SELF.price_rule.priority, style='width: 300px') %] |
@@ -46,7 +40,7 @@
[% 'Then' | $T8 %]:
-[% 'Set (set to)' | $T8 %] [% L.select_tag('price_rule.price_or_discount', [ [0, LxERP.t8('Price') ], [1, LxERP.t8('Discount') ]], default=SELF.price_rule.price_or_discount) %] [% 'to (set to)' | $T8 %] [% L.input_tag('price_rule.price_or_discount_as_number', SELF.price_rule.price_or_discount_as_number) %]
+
[% 'Set (set to)' | $T8 %] [% L.select_tag('price_rule.price_type', SELF.all_price_types, default=SELF.price_rule.price_type) %] [% 'to (set to)' | $T8 %] [% L.input_tag('price_rule.price_or_discount_as_number', SELF.price_rule.price_or_discount_as_number) %]
[?]