X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Forder%2Ftabs%2F_item_input.html;h=d5c0ad0c3a062d170771547df83761faab4d1a93;hb=f70c8fa479417e7c20108a23c18c0c6e5e683c6a;hp=4e92e159e1aa143af1b00c72eca0408d36959254;hpb=26a7b7af2734e081e1c32c2248c8ee35c67a4225;p=kivitendo-erp.git diff --git a/templates/webpages/order/tabs/_item_input.html b/templates/webpages/order/tabs/_item_input.html index 4e92e159e..d5c0ad0c3 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,11 @@|||||
---|---|---|---|---|---|---|---|---|
[% 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', '', 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") %] @@ -22,7 +27,7 @@ | [% 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('add_item()', LxERP.t8('Add part')) %] | +[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part')) %] |