Revision 68bfe305
Von Sven Schöling vor fast 8 Jahren hinzugefügt
templates/webpages/part/_assembly.html | ||
---|---|---|
41 | 41 |
<td></td> |
42 | 42 |
<td></td> |
43 | 43 |
<td align="right">[% 'Part' | $T8 %]:</td> |
44 |
<td>[% 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', on_enter_match_one='kivi.Part.add_assembly_item'}) %]</td>
|
|
44 |
<td>[% 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'}) %]</td>
|
|
45 | 45 |
<td>[%- L.button_tag("kivi.Part.add_assembly_item()", LxERP.t8("Add")) %]</td> |
46 | 46 |
<td>[% L.button_tag('$("#assembly_picker").data("part_picker").open_dialog()', LxERP.t8('Add multiple items')) %]</td> |
47 | 47 |
<td>[% L.hidden_tag('add_items[].qty_as_number', 1) %]</td> |
Auch abrufbar als: Unified diff
Part: part picker commit hooks umbenannt