1 [%- USE T8 %][%- USE HTML %][%- USE LxERP %][%- USE L %][%- USE P %]
4 <table id="input_row_table_id">
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>
17 <tr valign="top" class="listrow">
18 <td>[% L.input_tag('add_item.position', '', size = 5, class="add_item_input numeric") %]</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>
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") %]
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>