]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/price_rule/report_bottom.html
customernotes auch als notes Form Variable(fixmaster)
[mfinanz.git] / templates / webpages / price_rule / report_bottom.html
index cee635dcb720955c9646960cab454e41868579bb..f471ab703863e4b6595e3b8d5659d494ac590ab0 100644 (file)
@@ -3,4 +3,7 @@
 [% USE HTML %]
 [%- L.paginate_controls(models=SELF.models) %]
 
-<a href="[% SELF.url_for(action='new', 'price_rule.type'=SELF.vc, callback=SELF.models.get_callback) | html %]">[% 'New Price Rule' | $T8 %]</a>
+[%- UNLESS FORM.inline %]
+<a href="[% SELF.url_for(action='new', 'price_rule.type'='customer', callback=SELF.models.get_callback) | html %]">[% 'New Sales Price Rule' | $T8 %]</a>
+<a href="[% SELF.url_for(action='new', 'price_rule.type'='vendor', callback=SELF.models.get_callback) | html %]">[% 'New Purchase Price Rule' | $T8 %]</a>
+[%- END %]