X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Fform.html;h=e56b3e58413ff7d68a812910a7e9405f42d4fcfd;hb=53d80f2a01439ee73cf679c53326ec8fb32ab1ed;hp=c8ec6b02e6b24ab377d3011d29fd12e2cebb96d5;hpb=95c1acfeb2631a78df6c0cec37649d68657fba04;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/form.html b/templates/webpages/customer_vendor/form.html index c8ec6b02e..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" %] @@ -102,4 +106,3 @@ } --> -