X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Fform.html;h=e56b3e58413ff7d68a812910a7e9405f42d4fcfd;hb=53d80f2a01439ee73cf679c53326ec8fb32ab1ed;hp=9aed70936180ed88901326b7b624009a6ee0ec2c;hpb=d6d93439fa04dfff452e621b7334fc5f9ff8be59;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/form.html b/templates/webpages/customer_vendor/form.html index 9aed70936..e56b3e584 100644 --- a/templates/webpages/customer_vendor/form.html +++ b/templates/webpages/customer_vendor/form.html @@ -2,6 +2,8 @@ [%- USE LxERP %] [%- USE L %] +[% L.hidden_tag('_cti_enabled', !!LXCONFIG.cti.dial_command) %] + [% cv_cvars = SELF.cv.cvars_by_config %]
@@ -16,9 +18,10 @@
[% PROCESS "customer_vendor/tabs/billing.html" %] + [% PROCESS "customer_vendor/tabs/bank.html" %] [% PROCESS "customer_vendor/tabs/shipto.html" %] [% PROCESS "customer_vendor/tabs/contacts.html" %] - [% IF ( SELF.cv.id ) %] + [% IF ( SELF.cv.id && AUTH.assert('sales_all_edit', 1) ) %] [% PROCESS "customer_vendor/tabs/deliveries.html" %] [% END %] [% PROCESS "customer_vendor/tabs/vcnotes.html" %] @@ -67,7 +71,7 @@ [%- END %] [%- IF ( SELF.cv.id ) %] - + [%- END %] @@ -102,4 +106,3 @@ } --> -