X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9996587d035a11cacc59095ba95f3d2494cb2b1d..feeb3fc8352:/templates/webpages/customer_vendor/form.html
diff --git a/templates/webpages/customer_vendor/form.html b/templates/webpages/customer_vendor/form.html
index 25c388e70..a5c43fbf3 100644
--- a/templates/webpages/customer_vendor/form.html
+++ b/templates/webpages/customer_vendor/form.html
@@ -2,8 +2,8 @@
[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
+[%- USE Dumper %]
[% FORM.title %] [% IF SELF.cv.id %] - [% HTML.escape(SELF.cv.displayable_name) %][% END %]
-
[% L.hidden_tag('_cti_enabled', !!LXCONFIG.cti.dial_command) %]
[% cv_cvars = SELF.cv.cvars_by_config %]
@@ -36,6 +36,20 @@
[% IF SELF.cv.id %]
[% 'Price Rules' | $T8 %]
[% END %]
+
+ [% IF SELF.cv.id %]
+ [% IF ( FORM.db == 'customer' && AUTH.assert('show_extra_record_tab_customer',1) ) %]
+ [% LxERP.t8('Records') %]
+ [%- IF SELF.open_items > 0 %] $[% END %] [%- IF SELF.open_orders > 0 %] ![% END %]
+
+ [% END %]
+ [% IF ( FORM.db == 'vendor' && AUTH.assert('show_extra_record_tab_vendor',1) ) %]
+ [% LxERP.t8('Records') %]
+ [%- IF SELF.open_items > 0 %] $[% END %] [%- IF SELF.open_orders > 0 %] ![% END %]
+
+ [% END %]
+ [% END %]
+
[% PROCESS "customer_vendor/tabs/billing.html" %]
@@ -53,31 +67,17 @@
[% PROCESS "customer_vendor/tabs/price_rules.html" %]
[% END %]
-
-
-
- [% L.hidden_tag('action', 'CustomerVendor/dispatch') %]