[%- USE T8 %][%- USE HTML %][%- USE L %][%- USE LxERP %]
[% 'This part was already counted for this bin:' | $T8 %]
[% SELF.part.displayable_name %] / [% SELF.part.ean %]
[% already_counted.first.bin.full_description %], [% 'Stocked Qty' | $T8 %]: [%- LxERP.format_amount(stocked_qty, -2) -%] [%- SELF.part.unit -%] [%- IF SELF.part.unit != SELF.unit.name -%] ([%- LxERP.format_amount(stocked_qty_in_form_units, -2) -%] [%- SELF.unit.name -%])
[%- END -%]

[% FOREACH ac = already_counted %] [% END %]
[% 'Insert Date' | $T8 %] [% 'Employee' | $T8 %] [% 'Bin' | $T8 %] [% 'Target Qty' | $T8 %]
[%- ac.itime_as_timestamp -%] [%- ac.employee.safe_name -%] [%- ac.bin.full_description -%] [%- ac.qty_as_number -%] [%- ac.part.unit -%]

[% 'Please choose the action to be processed for your target quantity:' | $T8 %]
[% 'Correct counted' | $T8 %]: [% 'The stock will be changed to your target quantity.' | $T8 %]
[% 'Add counted' | $T8 %]: [% 'Your target quantity will be added to the stocked quantity.' | $T8 %]


[% L.hidden_tag('action', 'Inventory/dispatch') %] [% L.button_tag('kivi.Inventory.stocktaking_correct_counted()', LxERP.t8("Correct counted")) %] [% L.button_tag('kivi.Inventory.stocktaking_add_counted(' _ stocked_qty_in_form_units _ ')', LxERP.t8("Add counted")) %] [%- LxERP.t8("Cancel") %]