X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Fform.html;h=2fce8d6d9909f907e941370b257c228f2c3bb2a1;hb=549f187d3a2b1d15f96c4556714666ed954447bb;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..2fce8d6d9 100644 --- a/templates/webpages/customer_vendor/form.html +++ b/templates/webpages/customer_vendor/form.html @@ -1,11 +1,14 @@ [%- USE T8 %] +[%- 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 %] -
-
[% FORM.title %]
+ [% L.hidden_tag('db', FORM.db) %] [% L.hidden_tag('callback', FORM.callback) %] @@ -13,84 +16,86 @@ [%- 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 ) %] + [% 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" %] [% END %] + [% 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') %] - - [% L.submit_tag('action_save', LxERP.t8('Save'), onclick = "return check_taxzone_and_ustid()", accesskey = "s") %] - [% L.submit_tag('action_save_and_close', LxERP.t8('Save and Close'), onclick = "return check_taxzone_and_ustid()") %] - - [%- IF ( SELF.is_vendor ) %] - [% L.submit_tag('action_save_and_ap_transaction', LxERP.t8('Save and AP Transaction'), onclick = "return check_taxzone_and_ustid()") %] - [%- ELSE %] - [% L.submit_tag('action_save_and_ar_transaction', LxERP.t8('Save and AR Transaction'), onclick = "return check_taxzone_and_ustid()") %] - [%- END %] - - [% L.submit_tag('action_save_and_invoice', LxERP.t8('Save and Invoice'), onclick = "return check_taxzone_and_ustid()") %] - [% L.submit_tag('action_save_and_order', LxERP.t8('Save and Order'), onclick = "return check_taxzone_and_ustid()") %] - - [%- IF ( SELF.is_vendor ) %] - [% L.submit_tag('action_save_and_rfq', LxERP.t8('Save and RFQ'), onclick = "return check_taxzone_and_ustid()") %] - [%- ELSE %] - [% L.submit_tag('action_save_and_quotation', LxERP.t8('Save and Quotation'), onclick = "return check_taxzone_and_ustid()") %] - [%- END %] - - [%- IF ( SELF.cv.id && SELF.is_orphaned ) %] - [% L.submit_tag('action_delete', LxERP.t8('Delete'), confirm => LxERP.t8('Do you really want to delete this object?')) %] - [%- END %] - - [%- IF ( SELF.cv.id ) %] - - [%- END %] -
-