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