Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 48b465f5

Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID 48b465f5bc71d60ee4b6ba42185b75d60cb0961f
  • Vorgänger 86204ed3
  • Nachfolger 1f5d5be6

Neues kivitendo Design Aenderungen in templates/webpages/client_config/..

Unterschiede anzeigen:

templates/webpages/client_config/_stocktaking.html
1
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%]
2
<div id="stocktaking">
3
 <table>
4
  <tr>
5
   <td align="right" nowrap="true">[% LxERP.t8('Preselected warehouse') %]</td>
6
   <td>
7
     [% L.select_tag('defaults.stocktaking_warehouse_id',
8
                     SELF.all_warehouses,
9
                     id='stocktaking_warehouse_id',
10
                     with_empty=1,
11
                     default=SELF.defaults.stocktaking_warehouse_id,
12
                     title_key='description',
13
                     onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1 ,'stocktaking_bin_id')") %]
14
   </td>
15
   <td>
16
    [% LxERP.t8('If configured this warehouse will be preselected for stocktaking.') %]<br>
17
   </td>
18
  </tr>
19

  
20
  <tr>
21
   <td align="right" nowrap="true">[% LxERP.t8('Preselected bin') %]</td>
22
   <td>[% L.select_tag('defaults.stocktaking_bin_id', [], id='stocktaking_bin_id', with_empty=1) %]</td>
23
   <td>
24
    [% LxERP.t8('If configured this bin will be preselected for stocktaking.') %]<br>
25
   </td>
26
  </tr>
27
  <tr>
28

  
29
  <tr>
30
   <td align="right" nowrap="true">[% LxERP.t8('Preselected cutoff date') %]</td>
31
   <td>[% L.date_tag('defaults.stocktaking_cutoff_date', SELF.defaults.stocktaking_cutoff_date) %]</td>
32
   <td>
33
    [% LxERP.t8('If configured this date will used as preselected cutoff date for stocktaking.') %]<br>
34
   </td>
35
  </tr>
36
  <tr>
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE L %]
4
[% USE T8 %]
37 5

  
38
  <tr>
39
   <td align="right" nowrap="true">[% LxERP.t8('Threshold for warning on quantity difference') %]</td>
40
   <td>[% L.input_tag('defaults.stocktaking_qty_threshold_as_number', SELF.defaults.stocktaking_qty_threshold_as_number, size=15, class="numeric") %]</td>
41
   <td>
42
    [% LxERP.t8('If the counted quantity differs more than this threshold from the quantity in the database, a warning will be shown. Set to 0 to switch of this feature.') %]<br>
43
   </td>
44
  </tr>
45
  <tr>
46

  
47
 </table>
48
</div>
6
<div id="stocktaking">
7
<div class="wrapper">
8
  <table class="tbl-horizontal">
9
    <caption>[% 'Stocktaking' | $T8 %]</caption>
10
    <tbody>
11
    <tr>
12
      <th>[% LxERP.t8('Preselected warehouse') %]</th>
13
      <td>[% L.select_tag('defaults.stocktaking_warehouse_id', SELF.all_warehouses, id='stocktaking_warehouse_id', with_empty=1, default=SELF.defaults.stocktaking_warehouse_id, title_key='description', onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1 ,'stocktaking_bin_id')", class='wi-normal') %] </td>
14
      <td class="long-desc">[% LxERP.t8('If configured this warehouse will be preselected for stocktaking.') %]<br>
15
      </td>
16
    </tr>
17
    <tr>
18
      <th>[% LxERP.t8('Preselected bin') %]</th>
19
      <td>[% L.select_tag('defaults.stocktaking_bin_id', [], id='stocktaking_bin_id', with_empty=1, class='wi-normal') %]</td>
20
      <td class="long-desc">[% LxERP.t8('If configured this bin will be preselected for stocktaking.') %]<br>
21
      </td>
22
    </tr>
23
    <tr>
24
      <th>[% LxERP.t8('Preselected cutoff date') %]</th>
25
      <td>[% L.date_tag('defaults.stocktaking_cutoff_date', SELF.defaults.stocktaking_cutoff_date, class='wi-date') %]</td>
26
      <td class="long-desc">[% LxERP.t8('If configured this date will used as preselected cutoff date for stocktaking.') %]<br>
27
      </td>
28
    </tr>
29
    <tr>
30
      <th>[% LxERP.t8('Threshold for warning on quantity difference') %]</th>
31
      <td>[% L.input_tag('defaults.stocktaking_qty_threshold_as_number', SELF.defaults.stocktaking_qty_threshold_as_number, class='wi-small', size='15') %]</td>
32
      <td class="long-desc">[% LxERP.t8('If the counted quantity differs more than this threshold from the quantity in the database, a warning will be shown. Set to 0 to switch of this feature.') %]<br>
33
      </td>
34
    </tr>
35
    </tbody>
36
  </table>
37
</div><!-- /.wrapper -->
38
</div><!-- /#stocktaking -->

Auch abrufbar als: Unified diff