X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0935b012a57196f883b59ec97bb7fe0882210c5a..01f650056:/templates/webpages/order/tabs/_item_input.html diff --git a/templates/webpages/order/tabs/_item_input.html b/templates/webpages/order/tabs/_item_input.html index 1d86cf42f..62f5ccf79 100644 --- a/templates/webpages/order/tabs/_item_input.html +++ b/templates/webpages/order/tabs/_item_input.html @@ -1,9 +1,10 @@ -[%- USE T8 %][%- USE HTML %][%- USE LxERP %][%- USE L %] +[%- USE T8 %][%- USE HTML %][%- USE LxERP %][%- USE L %][%- USE P %]
| [%- 'position' | $T8 %] | [%- 'Part' | $T8 %] | [%- 'Description' | $T8 %] | [%- 'Qty' | $T8 %] | @@ -14,7 +15,16 @@|
|---|---|---|---|---|
| [% L.part_picker('add_item.parts_id', '', fat_set_item=1, style='width: 300px', class="add_item_input") %] | +[% 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', '', style='width: 300px', class="add_item_input", + fat_set_item=1, + multiple_pos_input=1, + action={set_multi_items='kivi.Order.add_multi_items'}, + classification_id=SELF.part_picker_classification_ids.as_list.join(','), + $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") %] |