X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Fform.html;h=2fce8d6d9909f907e941370b257c228f2c3bb2a1;hb=ee03d15d22eebae4c5224bd68a23b6b4d8a466c0;hp=25c388e7053f1bb5de1a516ed8761191818b5064;hpb=9996587d035a11cacc59095ba95f3d2494cb2b1d;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/form.html b/templates/webpages/customer_vendor/form.html index 25c388e70..2fce8d6d9 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 %] @@ -16,18 +16,25 @@ [%- INCLUDE 'common/flash.html' %] + [%- SET show_deliveries = ( SELF.cv.id && ((SELF.is_customer && AUTH.assert('sales_all_edit', 1)) || (SELF.is_vendor && AUTH.assert('purchase_all_edit', 1))) ) -%]
[% PROCESS "customer_vendor/tabs/billing.html" %] + [% IF SELF.is_customer %] + [% PROCESS "customer_vendor/tabs/additional_billing_addresses.html" %] + [% END %] [% PROCESS "customer_vendor/tabs/bank.html" %] [% PROCESS "customer_vendor/tabs/shipto.html" %] [% PROCESS "customer_vendor/tabs/contacts.html" %] - [% IF ( SELF.cv.id && AUTH.assert('sales_all_edit', 1) ) %] + [% IF show_deliveries %] [% PROCESS "customer_vendor/tabs/deliveries.html" %] [% END %] + [% PROCESS 'webdav/_list.html' %] [% PROCESS "customer_vendor/tabs/vcnotes.html" %] [% IF ( cv_cvars.size ) %] [% PROCESS "customer_vendor/tabs/custom_variables.html" %] @@ -52,32 +81,21 @@ [% IF SELF.cv.id %] [% PROCESS "customer_vendor/tabs/price_rules.html" %] [% END %] + [% IF ( SELF.cv.id && SELF.cv.pricegroup_id && AUTH.assert('part_service_assembly_details', 1) ) %] + [% PROCESS "customer_vendor/tabs/price_list.html" %] + [% END %]
- -
- - [% L.hidden_tag('action', 'CustomerVendor/dispatch') %]