X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/050cd2d24e5195c70753d5271496f847d66f41ff..feeb3fc8352:/templates/webpages/customer_vendor/form.html
diff --git a/templates/webpages/customer_vendor/form.html b/templates/webpages/customer_vendor/form.html
index 4b6e32e55..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" %]