X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Fform.html;h=25c388e7053f1bb5de1a516ed8761191818b5064;hb=9996587d035a11cacc59095ba95f3d2494cb2b1d;hp=ad2da05abff1b57037291ffdfbcbf3c42056728e;hpb=7a64a31eaa7e82d23f1caab65f72d886ba21b781;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/form.html b/templates/webpages/customer_vendor/form.html index ad2da05ab..25c388e70 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 %] +

[% 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) %] @@ -21,12 +24,18 @@
  • [% 'Contacts' | $T8 %]
  • [% IF ( SELF.cv.id && AUTH.assert('sales_all_edit', 1) ) %]
  • [% 'Supplies' | $T8 %]
  • +[%- IF INSTANCE_CONF.get_doc_storage %] +
  • [% 'Attachments' | $T8 %]
  • +[%- END %] [% END %]
  • [% 'Notes' | $T8 %]
  • [% IF ( cv_cvars.size ) %]
  • [% 'Custom Variables' | $T8 %]
  • [% END %] + [% IF SELF.cv.id %] +
  • [% 'Price Rules' | $T8 %]
  • + [% END %] [% PROCESS "customer_vendor/tabs/billing.html" %] @@ -40,38 +49,14 @@ [% IF ( cv_cvars.size ) %] [% PROCESS "customer_vendor/tabs/custom_variables.html" %] [% END %] + [% IF SELF.cv.id %] + [% PROCESS "customer_vendor/tabs/price_rules.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 %] -