From: Bernd Bleßmann Date: Wed, 9 Mar 2022 09:50:48 +0000 (+0100) Subject: Länge Eingabefelder angleichen in in Debitoren, Kreditoren- u. Dialogbuchung. X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~129 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0346a1f5f3e50ef27077671c3078b93b51088e56;p=kivitendo-erp.git Länge Eingabefelder angleichen in in Debitoren, Kreditoren- u. Dialogbuchung. Durch die Einführung der Vorgangsbezeichnung dort sah des alles etwas unruhig aus. --- 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 %]