Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2de61e4e

Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID 2de61e4e4fef7aeb295490fa426bd0a08723f705
  • Vorgänger e7f69bc9
  • Nachfolger ec78c010

Neues Design 2019 Standard-Code templates/webpages/inventory/

Unterschiede anzeigen:

templates/webpages/inventory/stocktaking/_already_counted_dialog.html
5 5

  
6 6
<form method="post" id="already_counted_form" method="POST">
7 7

  
8
<p>
8 9
  [% 'This part was already counted for this bin:' | $T8 %]<br>
9 10
  [% SELF.part.displayable_name %] / [% SELF.part.ean %]<br>
10
  [% already_counted.first.bin.full_description %], [% 'Stocked Qty' | $T8 %]: [%- LxERP.format_amount(stocked_qty, -2) -%]&nbsp;[%- SELF.part.unit -%]
11
  [%- IF SELF.part.unit != SELF.unit.name -%]
12
    ([%- LxERP.format_amount(stocked_qty_in_form_units, -2) -%]&nbsp;[%- SELF.unit.name -%])<br>
13
  [%- END -%]
14
  <br>
15
  <br>
16
  <table>
17
    <tr class='listheading'>
11
  [% already_counted.first.bin.full_description %], [% 'Stocked Qty' | $T8 %]: [% LxERP.format_amount(stocked_qty, -2) %] [% SELF.part.unit %]
12
  [% IF SELF.part.unit != SELF.unit.name %]
13
    ([% LxERP.format_amount(stocked_qty_in_form_units, -2) %] [% SELF.unit.name %])<br>
14
  [% END %]
15
</p>
16

  
17
<table class="tbl-list">
18
  <thead>
19
    <tr>
18 20
      <th>[% 'Insert Date' | $T8 %]</th>
19 21
      <th>[% 'Employee' | $T8 %]</th>
20 22
      <th>[% 'Bin' | $T8 %]</th>
21
      <th>[% 'Target Qty' | $T8 %]</th>
23
      <th class="right">[% 'Target Qty' | $T8 %]</th>
22 24
    </tr>
25
  </thead>
26
  <tbody>
23 27
    [% FOREACH ac = already_counted %]
24
    <tr class='listrow'>
25
      <td>[%- ac.itime_as_timestamp -%]</td>
26
      <td>[%- ac.employee.safe_name -%]</td>
27
      <td>[%- ac.bin.full_description -%]</td>
28
      <td class="numeric">[%- ac.qty_as_number -%]&nbsp;[%- ac.part.unit -%]</td>
29
    </tr>
28
      <tr>
29
        <td>[% ac.itime_as_timestamp %]</td>
30
        <td>[% ac.employee.safe_name %]</td>
31
        <td>[% ac.bin.full_description %]</td>
32
        <td class="numeric">[% ac.qty_as_number %] [% ac.part.unit %]</td>
33
      </tr>
30 34
    [% END %]
31
  </table>
35
  </tbody>
36
</table>
32 37

  
33
  <p>
34
    [% 'Please choose the action to be processed for your target quantity:' | $T8 %]<br>
35
    [% 'Correct counted' | $T8 %]: [% 'The stock will be changed to your target quantity.' | $T8 %]<br>
36
    [% 'Add counted' | $T8 %]: [% 'Your target quantity will be added to the stocked quantity.' | $T8 %]<br>
37
  </p>
38
<p>
39
  [% 'Please choose the action to be processed for your target quantity:' | $T8 %]<br>
40
  [% 'Correct counted' | $T8 %]: [% 'The stock will be changed to your target quantity.' | $T8 %]<br>
41
  [% 'Add counted' | $T8 %]: [% 'Your target quantity will be added to the stocked quantity.' | $T8 %]<br>
42
</p>
38 43

  
39
  <br>
44
<div class="buttons">
40 45
  [% L.hidden_tag('action', 'Inventory/dispatch') %]
41 46
  [% L.button_tag('kivi.Inventory.stocktaking_correct_counted()', LxERP.t8("Correct counted")) %]
42 47
  [% L.button_tag('kivi.Inventory.stocktaking_add_counted(' _ stocked_qty_in_form_units _ ')', LxERP.t8("Add counted")) %]
43
  <a href="#" onclick="kivi.Inventory.close_already_counted_dialog();">[%- LxERP.t8("Cancel") %]</a>
48
  <a href="#" onclick="kivi.Inventory.close_already_counted_dialog();" class="button neutral">[% LxERP.t8("Cancel") %]</a>
49
</div>
44 50

  
45 51
</form>

Auch abrufbar als: Unified diff