79fc7a2759eacb7b55282d802bb559c00ee0977d
[kivitendo-erp.git] / templates / webpages / client_config / _warehouse.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%]
2 <div id="warehouse">
3  <div class='listheading'>[% LxERP.t8('Warehouse') %]</div>
4
5  <table>
6   <tr>
7    <td align="right">[% LxERP.t8('Default Transfer') %]</td>
8    <td>
9     [% L.yes_no_tag('defaults.transfer_default', SELF.defaults.transfer_default) %]
10    </td>
11    <td>
12     [% LxERP.t8('Show Transfer via default') %]<br>
13    </td>
14   </tr>
15   <tr>
16    <td align="right">[% LxERP.t8('Default Transfer with Master Bin') %]</td>
17    <td>
18     [% L.yes_no_tag('defaults.transfer_default_use_master_default_bin', SELF.defaults.transfer_default_use_master_default_bin) %]
19    </td>
20    <td>
21     [% LxERP.t8('Use master default bin for Default Transfer, if no default bin for the part is configured') %]<br>
22    </td>
23   </tr>
24   <tr>
25    <td align="right">[% LxERP.t8('Default Transfer Out with negative inventory') %]</td>
26    <td>
27     [% L.yes_no_tag('defaults.transfer_default_ignore_onhand', SELF.defaults.transfer_default_ignore_onhand) %]
28    </td>
29    <td>
30     [% LxERP.t8('Default Transfer Out always succeed. The current part onhand is ignored and the inventory can have negative stocks (not recommended).') %]<br>
31    </td>
32   </tr>
33
34   <tr> </tr>
35   <tr>
36    <td align="right" nowrap="true">[% LxERP.t8('Default Warehouse') %]</td>
37    <td>
38     [% L.select_tag('defaults.warehouse_id', SELF.all_warehouses, id='warehouse_id', with_empty=1, default=SELF.defaults.warehouse_id, title_key='description',
39                     onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1)") %]
40    </td>
41    <td>
42     [% LxERP.t8('This is the default bin for parts') %]<br>
43     [% LxERP.t8('If configured this bin will be preselected for all new parts. Also this bin will be used as the master default bin, if default transfer out with master bin is activated.') %]<br>
44    </td>
45   </tr>
46   <tr>
47    <td align="right" nowrap="true">[% LxERP.t8('Default Bin') %]</td>
48    <td>[% L.select_tag('defaults.bin_id', [], id='bin_id', with_empty=1) %]</td>
49   </tr>
50   <tr>
51    <td align="right" nowrap="true">[% LxERP.t8('Default Warehouse with ignoring on hand') %]</td>
52    <td>
53     [% L.select_tag('defaults.warehouse_id_ignore_onhand', SELF.all_warehouses, id='warehouse_id_ignore_onhand', with_empty=1, default=SELF.defaults.warehouse_id_ignore_onhand, title_key='description',
54                     onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1, 'bin_id_ignore_onhand')") %]
55    </td>
56    <td>
57     [% LxERP.t8('This is the default bin for ignoring onhand') %]<br>
58     [% LxERP.t8('If the default transfer out always succeed use this bin for negative stock quantity.') %]<br>
59    </td>
60   </tr>
61   <tr>
62    <td align="right" nowrap="true">[% LxERP.t8('Default Bin with ignoring onhand') %]</td>
63    <td>[% L.select_tag('defaults.bin_id_ignore_onhand', [], id='bin_id_ignore_onhand', with_empty=1) %]</td>
64   </tr>
65   <tr>
66    <td align="right">[% LxERP.t8('Show Bestbefore') %]</td>
67    <td>
68     [% L.yes_no_tag('defaults.show_bestbefore', SELF.defaults.show_bestbefore) %]
69    </td>
70    <td>
71     [% LxERP.t8('Show fields used for the best before date?') %]<br>
72     [% LxERP.t8('ATTENTION! If you enabled this feature you can not simply turn it off again without taking care that best_before fields are emptied in the database.') %]<br>
73     [% LxERP.t8('This can be done with the following query:') %]<br>
74     <br>
75     UPDATE inventory SET bestbefore = NULL; <br>
76     <br>
77     [% LxERP.t8('Any stock contents containing a best before date will be impossible to stock out otherwise.') %]
78    </td>
79   </tr>
80  </table>
81 </div>