From 0346a1f5f3e50ef27077671c3078b93b51088e56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 9 Mar 2022 10:50:48 +0100 Subject: [PATCH] =?utf8?q?L=C3=A4nge=20Eingabefelder=20angleichen=20in=20i?= =?utf8?q?n=20Debitoren,=20Kreditoren-=20u.=20Dialogbuchung.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Durch die Einführung der Vorgangsbezeichnung dort sah des alles etwas unruhig aus. --- templates/webpages/ap/form_header.html | 6 +++--- templates/webpages/ar/form_header.html | 6 +++--- templates/webpages/gl/form_header.html | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index d59a65e57..e15211bf5 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,13 +134,13 @@ [% 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, size=35, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %] + [% L.input_tag("transaction_description", transaction_description, style="width:330px", "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %] diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index fbd76c4d2..d42d70c18 100644 --- a/templates/webpages/ar/form_header.html +++ b/templates/webpages/ar/form_header.html @@ -47,7 +47,7 @@ [% 'Customer' | $T8 %] - [% P.customer_vendor.picker("customer_id", customer_id, type="customer", style="width: 300px", class=(initial_focus == 'customer_id' ? "initial_focus" : ""), onchange="\$('#update_button').click()") %] + [% P.customer_vendor.picker("customer_id", customer_id, type="customer", style="width: 330px", class=(initial_focus == 'customer_id' ? "initial_focus" : ""), onchange="\$('#update_button').click()") %] [% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %] [% L.hidden_tag("previous_customer_id", customer_id) %] [% L.hidden_tag('terms', terms) %] @@ -106,12 +106,12 @@ [% 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, size=35, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %] + [% L.input_tag("transaction_description", transaction_description, style="width:330px", "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %] [% L.checkbox_tag('taxincluded', checked=taxincluded) %] diff --git a/templates/webpages/gl/form_header.html b/templates/webpages/gl/form_header.html index 98084c6ee..91a7b11e0 100644 --- a/templates/webpages/gl/form_header.html +++ b/templates/webpages/gl/form_header.html @@ -67,7 +67,7 @@ [% 'Reference' | $T8 %] - [% L.input_tag('reference', reference, size=20, readonly=readonly) %] + [% L.input_tag('reference', reference, style='width:330px', readonly=readonly) %] [% 'Transdate' | $T8 %] [% L.date_tag('transdate', transdate, readonly=readonly) %] @@ -84,19 +84,19 @@ SET departments_style = "style='visibility:hidden'" IF ALL_DEPARTMENTS.size == 0 %] [% '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') %] [% 'Tax point' | $T8 %] [% L.date_tag('tax_point', tax_point) %] [% 'Transaction description' | $T8 %] - [% L.input_tag("transaction_description", transaction_description, size=35) %] + [% L.input_tag("transaction_description", transaction_description, style='width:330px') %] [% 'Delivery Date' | $T8 %] [% L.date_tag('deliverydate', deliverydate) %] [% 'Description' | $T8 %] - [% L.areainput_tag('description', description, cols=50, readonly=readonly) %] + [% L.areainput_tag('description', description, style='width:330px', readonly=readonly) %] [%- IF id %][% 'Mitarbeiter' | $T8 %][% END %] -- 2.20.1