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 >[%- 'Part' | $T8 %] </th>
8 <th class="listheading" nowrap >[%- 'Description' | $T8 %] </th>
9 <th class="listheading" nowrap width="5" >[%- 'Qty' | $T8 %] </th>
10 <th class="listheading" nowrap width="15">[%- 'Price' | $T8 %] </th>
11 <th class="listheading" nowrap width="5" >[%- 'Discount' | $T8 %] </th>
16 <tr valign="top" class="listrow">
18 [%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%]
19 [%- SET PARAM_VAL = SELF.search_cvpartnumber -%]
20 [% P.part.picker('add_item.parts_id', '', fat_set_item=1, style='width: 300px', class="add_item_input", $PARAM_KEY=PARAM_VAL) %]</td>
21 <td>[% L.input_tag('add_item.description', '', class="add_item_input") %]</td>
23 [% L.input_tag('add_item.qty_as_number', '', size = 5, class="add_item_input numeric") %]
24 [% L.hidden_tag('add_item.unit', '', class="add_item_input") %]
26 <td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, class="add_item_input numeric") %]</td>
27 <td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %]</td>
28 <td>[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part')) %]</td>