<th>[% 'Unit' | $T8 %]</th>
<th>[% 'Article' | $T8 %]</th>
<th>[% 'Sellprice' | $T8 %]</th>
- <th>[% 'Group' | $T8 %]</th>
+ <th>[% 'Partsgroup' | $T8 %]</th>
</tr>
[%- FOREACH item = multi_items %]
<tr>
<td>
[% L.hidden_tag("add_items[+].parts_id", item.id) %]
[% L.input_tag("add_items[].qty_as_number", '', size = 5,
- class = 'multi_items_qty numeric', onclick = 'set_qty_to_one(this)') %]
+ class = 'multi_items_qty numeric') %]
</td>
<td>[% HTML.escape(item.unit) %]</td>
- <td>[% P.part(item) %]</td>
+ <td>[% P.part(item) %] [% HTML.escape(item.description) %]</td>
<td class="numeric">[% HTML.escape(item.sellprice_as_number) %]</td>
<td class="numeric">[% HTML.escape(item.partsgroup.partsgroup) %]</td>
</tr>
[%- END %]
</table>
-
-<script type='text/javascript'>
- function set_qty_to_one(clicked) {
- if ($(clicked).val() == '') {
- $(clicked).val('[%- LxERP.format_amount(1.00, -2) %]');
- }
- $(clicked).select();
- }
-
- $('#multi_items_all_qty').change(function(event){
- $('.multi_items_qty').val($(event.target).val());
- });
-</script>