[% SET alloc_qty = '';
FOREACH alloc = allocated_by_parts_id.$part_id;
IF (alloc.warehouse_id == part.warehouse.id && alloc.bin_id == part.bin_id && HTML.escape(alloc.chargenumber) == HTML.escape(part.chargenumber));
SET alloc_qty = alloc.qty;
END;
END
-%]
[% P.hidden_tag('allocations[+].parts_id', part_id )%]
[% P.hidden_tag('allocations[].chargenumber', part.chargenumber )%]
[% P.hidden_tag('allocations[].warehouse_id', part.warehouse_id )%]
[% P.hidden_tag('allocations[].bin_id', part.bin_id )%]
[% part.part.partnumber | html %]
|
[% part.part.description | html %] |
[% part.chargenumber | html %] |
[% part.warehouse.description | html %] |
[% part.bin.description | html %] |
[% LxERP.format_amount(part.qty, -2) %] |
[% P.hidden_tag('allocations[].qty', LxERP.format_amount(alloc_qty, -2)) %]
[% LxERP.format_amount(alloc_qty, -2) %]
|
[% part.part.unit | html %] |
[% END %]