X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_header.html;h=e3bc2e9c765e07161e95f4113eb9b9ef8e7f089c;hb=04dccca70c47960cd6ea03a4f0ae05a9cbc42c41;hp=2f22a96f2c0334c0c4361ac46ab12ab25300e6db;hpb=fc131333aacf1d2a42e7faa8c364692e923b12af;p=kivitendo-erp.git diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 2f22a96f2..e3bc2e9c7 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -18,7 +18,7 @@ - + @@ -63,7 +63,7 @@
  • [% 'WebDAV' | $T8 %]
  • [%- END %] [%- IF id AND INSTANCE_CONF.get_doc_storage %] -
  • [% 'Documents' | $T8 %]
  • +
  • [% 'Documents' | $T8 %]
  • [% 'Attachments' | $T8 %]
  • [%- END %] [%- IF id %] @@ -74,6 +74,10 @@ [%- END %] +[%- IF id AND INSTANCE_CONF.get_doc_storage %] +
    +[%- END %] +
    @@ -85,7 +89,7 @@ @@ -130,10 +134,14 @@ [% IF ALL_DEPARTMENTS %] - + [% END %] + + + + @@ -157,7 +165,7 @@ - + @@ -207,7 +215,14 @@
    [% 'Vendor' | $T8 %] - [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 300px", onchange="\$('#update_button').click()") %] + [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 330px", onchange="\$('#update_button').click()") %] [% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] [% L.hidden_tag("previous_vendor_id", vendor_id) %]
    [% 'Department' | $T8 %][% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %][% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = "width:334px") %]
    [% 'Transaction description' | $T8 %][% L.input_tag("transaction_description", transaction_description, style="width:330px", "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]
    [% 'Tax Included' | $T8 %]
    [% 'Invoice Date' | $T8 %][% L.date_tag('transdate', transdate) %][% L.date_tag('transdate', transdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("transdate")') %]
    [% 'Due Date' | $T8 %] - [% temp = "tax_"_ i %][% $temp | html %] + [% temp_r = "tax_reverse_"_ i %] + [% IF ($temp_r) %] + [% $temp_r | html %] +     + [% temp_c = "tax_charge_"_ i %][% $temp_c | html %] + [% ELSE %] + [% temp = "tax_"_ i %][% $temp | html %] + [% END %] [% temp = 'selected_taxchart_'_ i %] @@ -252,7 +267,7 @@ [% L.textarea_tag("intnotes", intnotes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %] - [% L.select_tag('payment_id', payment_terms, default=payment_id, title_key='description', with_empty=1, style="width: 250px", onchange="kivi.SalesPurchase.set_duedate_on_reference_date_change('invdate')") %] + [% L.select_tag('payment_id', payment_terms, default=payment_id, title_key='description', with_empty=1, style="width: 250px", onchange="kivi.SalesPurchase.set_duedate_on_reference_date_change('transdate')") %]
    @@ -397,5 +412,5 @@