--- /dev/null
+[%- USE T8 %][%- USE HTML %][%- USE L %][%- USE LxERP %]
+
+<form method="post" id="already_counted_form" method="POST">
+
+ [% 'This part was already counted for this bin:' | $T8 %]<br>
+ [% SELF.part.displayable_name %] / [% SELF.part.ean %]<br>
+ [% 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 -%])<br>
+ [%- END -%]
+ <br>
+ <br>
+ <table>
+ <tr class='listheading'>
+ <th>[% 'Insert Date' | $T8 %]</th>
+ <th>[% 'Employee' | $T8 %]</th>
+ <th>[% 'Bin' | $T8 %]</th>
+ <th>[% 'Target Qty' | $T8 %]</th>
+ </tr>
+ [% FOREACH ac = already_counted %]
+ <tr class='listrow'>
+ <td>[%- ac.itime_as_timestamp -%]</td>
+ <td>[%- ac.employee.safe_name -%]</td>
+ <td>[%- ac.bin.full_description -%]</td>
+ <td class="numeric">[%- ac.qty_as_number -%] [%- ac.part.unit -%]</td>
+ </tr>
+ [% END %]
+ </table>
+
+ <p>
+ [% 'Please choose the action to be processed for your target quantity:' | $T8 %]<br>
+ [% 'Correct counted' | $T8 %]: [% 'The stock will be changed to your target quantity.' | $T8 %]<br>
+ [% 'Add counted' | $T8 %]: [% 'Your target quantity will be added to the stocked quantity.' | $T8 %]<br>
+ </p>
+
+ <br>
+ [% 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")) %]
+ <a href="#" onclick="kivi.Inventory.close_already_counted_dialog();">[%- LxERP.t8("Cancel") %]</a>
+
+</form>