Auftrags-Controller: Einfüge-Position eines neuen Artiklens angeben können
[kivitendo-erp.git] / templates / webpages / order / tabs / _item_input.html
1 [%- USE T8 %][%- USE HTML %][%- USE LxERP %][%- USE L %][%- USE P %]
2
3  <div>
4   <table id="input_row_table_id">
5     <thead>
6       <tr class="listheading">
7         <th class="listheading" nowrap >[%- 'position'     | $T8 %] </th>
8         <th class="listheading" nowrap >[%- 'Part'         | $T8 %] </th>
9         <th class="listheading" nowrap >[%- 'Description'  | $T8 %] </th>
10         <th class="listheading" nowrap width="5" >[%- 'Qty'          | $T8 %] </th>
11         <th class="listheading" nowrap width="15">[%- 'Price'        | $T8 %] </th>
12         <th class="listheading" nowrap width="5" >[%- 'Discount'     | $T8 %] </th>
13         <th></th>
14       </tr>
15     </thead>
16     <tbody>
17       <tr valign="top" class="listrow">
18         <td>[% L.input_tag('add_item.position', '', size = 5, class="add_item_input numeric") %]</td>
19         <td>
20           [%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%]
21           [%- SET PARAM_VAL = SELF.search_cvpartnumber -%]
22           [% P.part.picker('add_item.parts_id', '', fat_set_item=1, style='width: 300px', class="add_item_input", $PARAM_KEY=PARAM_VAL) %]</td>
23         <td>[% L.input_tag('add_item.description', '', class="add_item_input") %]</td>
24         <td>
25           [% L.input_tag('add_item.qty_as_number', '', size = 5, class="add_item_input numeric") %]
26           [% L.hidden_tag('add_item.unit', '', class="add_item_input") %]
27         </td>
28         <td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, class="add_item_input numeric") %]</td>
29         <td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %]</td>
30         <td>[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part')) %]</td>
31       </tr>
32     </tbody>
33   </table>
34  </div>