Auftrags-Controller: zentrale Eingabezeile in eigene Template-Datei ausgelagert.
[kivitendo-erp.git] / templates / webpages / order / tabs / basic_data.html
index 83bd048..905288b 100644 (file)
     </tr>
   </table>
 
- <div>
-  <table id="input_row_table_id">
-    <thead>
-      <tr class="listheading">
-        <th class="listheading" nowrap >[%- 'Part'         | $T8 %] </th>
-        <th class="listheading" nowrap width="5" >[%- 'Qty'          | $T8 %] </th>
-        <th class="listheading" nowrap width="15">[%- 'Price'        | $T8 %] </th>
-        <th class="listheading" nowrap width="5" >[%- 'Discount'     | $T8 %] </th>
-        <th></th>
-      </tr>
-    </thead>
-    <tbody>
-      <tr valign="top" class="listrow">
-        <td>[% L.part_picker('add_item.parts_id', '', style='width: 300px') %]</td>
-        <td>[% L.input_tag('add_item.qty_as_number', '', size = 5, style='text-align:right') %]</td>
-        <td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, style='text-align:right') %]</td>
-        <td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, style='text-align:right') %]</td>
-        <td>[% L.button_tag('add_item()', LxERP.t8('Add part')) %]</td>
-      </tr>
-    </tbody>
-  </table>
-
- </div>
+  [%- PROCESS order/tabs/_item_input.html %]
 
   <table width="100%">
     <tr>