Länge Eingabefelder angleichen in in Debitoren, Kreditoren- u. Dialogbuchung.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 9 Mar 2022 09:50:48 +0000 (10:50 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 9 Mar 2022 10:22:44 +0000 (11:22 +0100)
Durch die Einführung der Vorgangsbezeichnung dort sah des alles etwas unruhig
aus.

templates/webpages/ap/form_header.html
templates/webpages/ar/form_header.html
templates/webpages/gl/form_header.html

index d59a65e..e15211b 100644 (file)
@@ -89,7 +89,7 @@
               <tr>
                 <th align="right" nowrap>[% 'Vendor' | $T8 %]</th>
                 <td colspan="3">
-                 [% 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) %]
                 </td>
               [% IF ALL_DEPARTMENTS %]
                 <tr>
                   <th align="right" nowrap>[% 'Department' | $T8 %]</th>
-                  <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %]</td>
+                  <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = "width:334px") %]</td>
                 </tr>
               [% END %]
 
               <tr>
                 <th align="right">[% 'Transaction description' | $T8 %]</th>
-                <td colspan="3">[% L.input_tag("transaction_description", transaction_description, size=35, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]</td>
+                <td colspan="3">[% L.input_tag("transaction_description", transaction_description, style="width:330px", "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]</td>
               </tr>
               <tr>
                 <td align="right"><input name="taxincluded" class="checkbox" type="checkbox" value="1" [% IF ( taxincluded ) %]checked[% END %]></td>
index fbd76c4..d42d70c 100644 (file)
@@ -47,7 +47,7 @@
               <tr>
                 <th align="right" nowrap>[% 'Customer' | $T8 %]</th>
                 <td colspan=3>
-                 [% 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) %]
               [% IF ALL_DEPARTMENTS %]
                 <tr>
                   <th align="right" nowrap>[% 'Department' | $T8 %]</th>
-                  <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %]</td>
+                  <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width:334px') %]</td>
                 </tr>
               [% END %]
               <tr>
                 <th align="right">[% 'Transaction description' | $T8 %]</th>
-                <td colspan="3">[% L.input_tag("transaction_description", transaction_description, size=35, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]</td>
+                <td colspan="3">[% L.input_tag("transaction_description", transaction_description, style="width:330px", "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]</td>
               </tr>
               <tr>
                 <td align=right>[% L.checkbox_tag('taxincluded', checked=taxincluded) %]</td>
index 98084c6..91a7b11 100644 (file)
@@ -67,7 +67,7 @@
         </tr>
         <tr>
           <th align="right">[% 'Reference' | $T8 %]</th>
-          <td>[% L.input_tag('reference', reference,  size=20, readonly=readonly) %]</td>
+          <td>[% L.input_tag('reference', reference,  style='width:330px', readonly=readonly) %]</td>
           <th align="right">[% 'Transdate' | $T8 %]</th>
           <td>[% L.date_tag('transdate', transdate, readonly=readonly) %]</td>
         </tr>
            SET departments_style = "style='visibility:hidden'" IF ALL_DEPARTMENTS.size == 0 %]
         <tr>
           <th [%- departments_style -%]align="right">[% 'Department' | $T8 %]</th>
-          <td [%- departments_style -%]>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %]</td>
+          <td [%- departments_style -%]>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width:334px') %]</td>
           <th align=right>[% 'Tax point' | $T8 %]</th>
           <td>[% L.date_tag('tax_point', tax_point) %]</td>
         </tr>
         <tr>
           <th align="right">[% 'Transaction description' | $T8 %]</th>
-          <td>[% L.input_tag("transaction_description", transaction_description, size=35) %]</td>
+          <td>[% L.input_tag("transaction_description", transaction_description, style='width:330px') %]</td>
           <th align=right>[% 'Delivery Date' | $T8 %]</th>
           <td>[% L.date_tag('deliverydate', deliverydate) %]</td>
         </tr>
         <tr>
           <th align="right">[% 'Description' | $T8 %]</th>
-          <td>[% L.areainput_tag('description', description, cols=50, readonly=readonly) %]</td>
+          <td>[% L.areainput_tag('description', description, style='width:330px', readonly=readonly) %]</td>
         </tr>
         <tr>
           <th align="right">[%- IF id %][% 'Mitarbeiter' | $T8 %][% END %]</th>