Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / 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>
37
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>