X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c7172f34ff94490977366ca8cad6c057ddc3da91..53593baa211863fbf66540cf1bcc36c8fb37257f:/templates/webpages/ap/form_header.html diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index c4902bbe3..e3bc2e9c7 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -89,7 +89,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) %] @@ -134,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") %] [% END %] + + [% '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 %] @@ -211,8 +215,9 @@ - [% IF "tax_reverse_"_ i %] - [% temp_r = "tax_reverse_"_ i %][% $temp_r | html %] + [% temp_r = "tax_reverse_"_ i %] + [% IF ($temp_r) %] + [% $temp_r | html %]     [% temp_c = "tax_charge_"_ i %][% $temp_c | html %] [% ELSE %]