X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/13fb6d811d39a8af7144451ada59f2f7d4eb491a..8f7fe4a4:/templates/webpages/part/_assortment.html
diff --git a/templates/webpages/part/_assortment.html b/templates/webpages/part/_assortment.html
index d441c0681..934bdc459 100644
--- a/templates/webpages/part/_assortment.html
+++ b/templates/webpages/part/_assortment.html
@@ -28,7 +28,7 @@
@@ -40,16 +40,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) %] |
+ [% L.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 %]: |