X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/df41380a9c1150938985322c48ef20fe7f2cd98b..69e526ee5:/templates/webpages/part/_assembly.html
diff --git a/templates/webpages/part/_assembly.html b/templates/webpages/part/_assembly.html
index e594fc43b..66b9a7065 100644
--- a/templates/webpages/part/_assembly.html
+++ b/templates/webpages/part/_assembly.html
@@ -20,9 +20,10 @@
[% IF SELF.orphaned %]
![[%- LxERP.t8('reorder item') %]](image/updown.png) |
[% END %]
-
+
+ [% 'Type' | $T8 %] |
-
+
[%- 'Unit' | $T8 %] |
[%- 'BOM' | $T8 %] |
[%- 'Line Total' | $T8 %] |
@@ -40,17 +41,18 @@
|
|
[% 'Part' | $T8 %]: |
- [% L.part_picker('add_items[+].parts_id' , '' , style='width: 300px' , class="add_assembly_item_input") %][% L.hidden_tag('add_items[].qty_as_number', 1) %] |
+ [% L.part_picker('add_items[+].parts_id', '', style='width: 300px', multiple=1, id='assembly_picker', action={set_multi_items='kivi.Part.set_multi_assembly_items', commit_one='kivi.Part.add_assembly_item'}) %] |
[%- L.button_tag("kivi.Part.add_assembly_item()", LxERP.t8("Add")) %] |
- [% L.button_tag('kivi.Part.show_multi_items_dialog("assembly")', LxERP.t8('Add multiple items')) %] |
+ [% L.button_tag('$("#assembly_picker").data("part_picker").open_dialog()', LxERP.t8('Add multiple items')) %] |
+ [% L.hidden_tag('add_items[].qty_as_number', 1) %] |
[% ELSE %]
|
|
|
|
|
- [% END %]
|
+ [% END %]
[% 'Totals' | $T8 %]: |
|
[%- LxERP.format_amount(items_sellprice_sum, 2, 0) %] |