[%- USE T8 %][%- USE HTML %][%- USE LxERP %][%- USE L %][%- USE P %]
[%- 'position' | $T8 %] | [%- 'Part' | $T8 %] | [%- 'Description' | $T8 %] | [%- 'Qty' | $T8 %] | [%- 'Price' | $T8 %] | [%- 'Discount' | $T8 %] | |
---|---|---|---|---|---|---|
[% L.input_tag('add_item.position', '', size = 5, class="add_item_input numeric") %] | [%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%] [%- SET PARAM_VAL = SELF.search_cvpartnumber -%] [% P.part.picker('add_item.parts_id', '', fat_set_item=1, style='width: 300px', class="add_item_input", $PARAM_KEY=PARAM_VAL) %] | [% L.input_tag('add_item.description', '', class="add_item_input") %] | [% L.input_tag('add_item.qty_as_number', '', size = 5, class="add_item_input numeric") %] [% L.hidden_tag('add_item.unit', '', class="add_item_input") %] | [% L.input_tag('add_item.sellprice_as_number', '', size = 10, class="add_item_input numeric") %] | [% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %] | [% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part')) %] |