[% USE HTML %][% USE LxERP %][% USE JavaScript %] [%- UNLESS delivered %] [%- END %]
[% title %]
[%- IF ERRORS && ERRORS.size %]

[% ERRORS.join('
') %]

[%- END %]

Part Number [% HTML.escape(PART_INFO.partnumber) %]
Description [% HTML.escape(PART_INFO.description) %]
Qty according to delivery order [% HTML.escape(do_qty) %] [% HTML.escape(do_unit) %]

[% IF conf_show_best_before %] [% END %] [%- FOREACH row = STOCK_INFO %] [%- IF delivered %] [% IF conf_show_best_before %] [% END %] [%- ELSE %] [% IF conf_show_best_before %] [% END %] [%- END %] [%- END %]
  Warehouse Bin Charge NumberBest BeforeQty Unit
[% loop.count %][% HTML.escape(row.warehouse_description) %] [% HTML.escape(row.bin_description) %] [% HTML.escape(row.chargenumber) %][% HTML.escape(row.bestbefore) %][% HTML.escape(LxERP.format_amount(row.qty)) %] [% HTML.escape(row.unit) %]


[%- IF delivered %] [%- ELSE %] [%- END %]

[%- IF NOT delivered %] [% IF conf_show_best_before %] [% END %] [%- END %]