X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Fform.html;h=a5c43fbf30788d1058a91d4bf69673ca51c0330c;hb=fb19e57e03d1d60c48c921def198b009583e4a74;hp=4b6e32e5554aca5761a1ca3b7d0b991ca4352c21;hpb=050cd2d24e5195c70753d5271496f847d66f41ff;p=kivitendo-erp.git
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" %]