Inventur: Eingabemaske und Journal im Inventory-Controller
[kivitendo-erp.git] / templates / webpages / inventory / stocktaking / _already_counted_dialog.html
1 [%- USE T8 %][%- USE HTML %][%- USE L %][%- USE LxERP %]
2
3 <form method="post" id="already_counted_form" method="POST">
4
5   [% 'This part was already counted for this bin:' | $T8 %]<br>
6   [% SELF.part.displayable_name %] / [% SELF.part.ean %]<br>
7   [% already_counted.first.bin.full_description %], [% 'Stocked Qty' | $T8 %]: [%- LxERP.format_amount(stocked_qty, -2) -%]&nbsp;[%- SELF.part.unit -%]
8   [%- IF SELF.part.unit != SELF.unit.name -%]
9     ([%- LxERP.format_amount(stocked_qty_in_form_units, -2) -%]&nbsp;[%- SELF.unit.name -%])<br>
10   [%- END -%]
11   <br>
12   <br>
13   <table>
14     <tr class='listheading'>
15       <th>[% 'Insert Date' | $T8 %]</th>
16       <th>[% 'Employee' | $T8 %]</th>
17       <th>[% 'Bin' | $T8 %]</th>
18       <th>[% 'Target Qty' | $T8 %]</th>
19     </tr>
20     [% FOREACH ac = already_counted %]
21     <tr class='listrow'>
22       <td>[%- ac.itime_as_timestamp -%]</td>
23       <td>[%- ac.employee.safe_name -%]</td>
24       <td>[%- ac.bin.full_description -%]</td>
25       <td class="numeric">[%- ac.qty_as_number -%]&nbsp;[%- ac.part.unit -%]</td>
26     </tr>
27     [% END %]
28   </table>
29
30   <p>
31     [% 'Please choose the action to be processed for your target quantity:' | $T8 %]<br>
32     [% 'Correct counted' | $T8 %]: [% 'The stock will be changed to your target quantity.' | $T8 %]<br>
33     [% 'Add counted' | $T8 %]: [% 'Your target quantity will be added to the stocked quantity.' | $T8 %]<br>
34   </p>
35
36   <br>
37   [% L.hidden_tag('action', 'Inventory/dispatch') %]
38   [% L.button_tag('kivi.Inventory.stocktaking_correct_counted()', LxERP.t8("Correct counted")) %]
39   [% L.button_tag('kivi.Inventory.stocktaking_add_counted(' _ stocked_qty_in_form_units _ ')', LxERP.t8("Add counted")) %]
40   <a href="#" onclick="kivi.Inventory.close_already_counted_dialog();">[%- LxERP.t8("Cancel") %]</a>
41
42 </form>