X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_assortment.html;h=55b04e83fe04982dbbc181062adddbde7e5197fe;hb=46f028ef78a55580e7e33c2439cedd0e60bde998;hp=d9dbefc442e832bf48354a167f605467ebabfde7;hpb=df41380a9c1150938985322c48ef20fe7f2cd98b;p=kivitendo-erp.git
diff --git a/templates/webpages/part/_assortment.html b/templates/webpages/part/_assortment.html
index d9dbefc44..55b04e83f 100644
--- a/templates/webpages/part/_assortment.html
+++ b/templates/webpages/part/_assortment.html
@@ -2,6 +2,7 @@
[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
+[%- USE P %]
@@ -40,16 +41,17 @@
|
|
[% 'Part' | $T8 %]: |
- [% L.part_picker('add_items[+].parts_id' , '' , style='width: 300px' , class="add_assortment_item_input") %][% L.hidden_tag('add_items[].qty_as_number', 1) %] |
+ [% P.part.picker('add_items[+].parts_id', '', style='width: 300px', multiple=1, id='assortment_picker', action={set_multi_items='kivi.Part.set_multi_assortment_items'}) %] |
[%- L.button_tag("kivi.Part.add_assortment_item()", LxERP.t8("Add")) %] |
- [% L.button_tag('kivi.Part.show_multi_items_dialog("assortment")', LxERP.t8('Add multiple items')) %] |
- |
+ [% L.button_tag('$("#assortment_picker").data("part_picker").open_dialog()', LxERP.t8('Add multiple items')) %] |
+ [% L.hidden_tag('add_items[].qty_as_number', 1) %] |
[% ELSE %]
|
|
|
|
|
+ |
[% END %]
|
[% 'Totals' | $T8 %]: |