X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Fform.html;h=2fce8d6d9909f907e941370b257c228f2c3bb2a1;hb=549f187d3a2b1d15f96c4556714666ed954447bb;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..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,6 +81,9 @@ [% 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 %]