X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8b5bed7fe52952d9c09b3cc18ef483f6670a78d0..b293ff8ad52fc76ba0c44783e3982418114d6b08:/templates/webpages/ap/form_header.html diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 1c5a51d94..e3bc2e9c7 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -18,7 +18,7 @@ - + @@ -63,7 +63,7 @@
| [% '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) %] | @@ -130,10 +134,14 @@ [% IF ALL_DEPARTMENTS %]|||||
|---|---|---|---|---|---|---|
| [% '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 %] | @@ -157,7 +165,7 @@||||||
| [% '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 %] | @@ -207,7 +215,14 @@- [% 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") %] + [% 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')") %] | |||