Revision 821e48a3
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/client_config/_warehouse.html | ||
---|---|---|
4 | 4 |
[% USE T8 %] |
5 | 5 |
|
6 | 6 |
<div id="warehouse"> |
7 |
<table> |
|
8 |
<tr> |
|
9 |
<td align="right">[% LxERP.t8('Default Transfer') %]</td> |
|
10 |
<td> |
|
11 |
[% L.yes_no_tag('defaults.transfer_default', SELF.defaults.transfer_default) %] |
|
12 |
</td> |
|
13 |
<td> |
|
14 |
[% LxERP.t8('Show Transfer via default') %]<br> |
|
15 |
</td> |
|
16 |
</tr> |
|
17 |
<tr> |
|
18 |
<td align="right">[% LxERP.t8('Default Transfer with services') %]</td> |
|
19 |
<td> |
|
20 |
[% L.yes_no_tag('defaults.transfer_default_services', SELF.defaults.transfer_default_services) %] |
|
21 |
</td> |
|
22 |
<td> |
|
23 |
[% LxERP.t8('Transfer services via default') %]<br> |
|
24 |
</td> |
|
25 |
</tr> |
|
26 |
<tr> |
|
27 |
<td align="right" nowrap="true">[% LxERP.t8('Default Warehouse') %]</td> |
|
28 |
<td> |
|
29 |
[% L.select_tag('defaults.warehouse_id', SELF.all_warehouses, id='warehouse_id', with_empty=1, default=SELF.defaults.warehouse_id, title_key='description', |
|
30 |
onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1)") %] |
|
31 |
</td> |
|
32 |
<td> |
|
33 |
[% LxERP.t8('This is the default bin for parts') %]<br> |
|
34 |
[% 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> |
|
35 |
</td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<td align="right" nowrap="true">[% LxERP.t8('Default Bin') %]</td> |
|
39 |
<td>[% L.select_tag('defaults.bin_id', [], id='bin_id', with_empty=1) %]</td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<tr> |
|
43 |
<td align="right">[% LxERP.t8('Default Transfer with Master Bin') %]</td> |
|
44 |
<td> |
|
45 |
[% L.yes_no_tag('defaults.transfer_default_use_master_default_bin', SELF.defaults.transfer_default_use_master_default_bin) %] |
|
46 |
</td> |
|
47 |
<td> |
|
48 |
[% LxERP.t8('Use master default bin for Default Transfer, if no default bin for the part is configured') %]<br> |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
<tr><td colspan="3"><hr /></td></tr> |
|
52 |
<tr> |
|
53 |
<td align="right">[% LxERP.t8('Default Transfer Out with negative inventory') %]</td> |
|
54 |
<td> |
|
55 |
[% L.yes_no_tag('defaults.transfer_default_ignore_onhand', SELF.defaults.transfer_default_ignore_onhand) %] |
|
56 |
</td> |
|
57 |
<td> |
|
58 |
[% LxERP.t8('Default Transfer Out always succeed. The current part onhand is ignored and the inventory can have negative stocks (not recommended).') %]<br> |
|
59 |
</td> |
|
60 |
</tr> |
|
7 |
<div class="wrapper" id="wrapper-3"> |
|
61 | 8 |
|
62 |
<tr> |
|
63 |
<td align="right" nowrap="true">[% LxERP.t8('Default Warehouse with ignoring onhand') %]</td> |
|
64 |
<td> |
|
65 |
[% 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', |
|
66 |
onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1, 'bin_id_ignore_onhand')") %] |
|
67 |
</td> |
|
68 |
<td> |
|
69 |
[% LxERP.t8('This is the default warehouse for ignoring onhand') %]<br> |
|
70 |
</td> |
|
71 |
</tr> |
|
72 |
<tr> |
|
73 |
<td align="right" nowrap="true">[% LxERP.t8('Default Bin with ignoring onhand') %]</td> |
|
74 |
<td>[% L.select_tag('defaults.bin_id_ignore_onhand', [], id='bin_id_ignore_onhand', with_empty=1) %]</td> |
|
75 |
<td>[% LxERP.t8('If the default transfer out always succeed use this bin for negative stock quantity.') %]</td> |
|
76 |
</tr> |
|
77 |
<tr><td colspan="3"><hr /></td></tr> |
|
78 |
<tr> |
|
79 |
<td align="right">[% LxERP.t8('Transfer out on posting sales invoices?') %]</td> |
|
80 |
<td> |
|
81 |
[% L.yes_no_tag('defaults.is_transfer_out', SELF.defaults.is_transfer_out) %] |
|
82 |
</td> |
|
83 |
<td> |
|
84 |
[% LxERP.t8('Transfer out all items of a sales invoice when posting it. Items are transfered out acording to the settings above.') %] |
|
85 |
</td> |
|
86 |
</tr> |
|
87 |
<tr> |
|
88 |
<td align="right">[% LxERP.t8('Match Sales Invoice Serial numbers with inventory charge numbers?') %]</td> |
|
89 |
<td> |
|
90 |
[% L.yes_no_tag('defaults.sales_serial_eq_charge', SELF.defaults.sales_serial_eq_charge) %] |
|
91 |
</td> |
|
92 |
<td> |
|
93 |
[% LxERP.t8('If one or more space separated serial numbers are assigned in a sales invoice, match the charge number of the inventory item. Assumes that Serial Number and Charge Number have 1:1 relation. Otherwise throw a error message for the default sales invoice transfer.') %] |
|
94 |
</td> |
|
95 |
</tr> |
|
9 |
<table class="tbl-horizontal expanded"> |
|
10 |
<caption>[% 'Default Warehouse' | $T8 %]</caption> |
|
11 |
<colgroup> <col class="wi-normal"><col class="wi-mediumsmall"><col class="wi-verywide"> </colgroup> |
|
12 |
<tbody> |
|
13 |
<tr> |
|
14 |
<th>[% LxERP.t8('Default Transfer') %]</th> |
|
15 |
<td>[% L.yes_no_tag('defaults.transfer_default', SELF.defaults.transfer_default, class='wi-small') %] </td> |
|
16 |
<td class="long-desc"> [% LxERP.t8('Show Transfer via default') %]<br> |
|
17 |
</td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th>[% LxERP.t8('Default Transfer with services') %]</th> |
|
21 |
<td> [% L.yes_no_tag('defaults.transfer_default_services', SELF.defaults.transfer_default_services, class='wi-small') %] </td> |
|
22 |
<td class="long-desc"> [% LxERP.t8('Transfer services via default') %]<br> |
|
23 |
</td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<th>[% LxERP.t8('Default Warehouse') %]</th> |
|
27 |
<td> [% L.select_tag('defaults.warehouse_id', SELF.all_warehouses, id='warehouse_id', with_empty=1, default=SELF.defaults.warehouse_id, title_key='description', onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1)", class='wi-normal') %] </td> |
|
28 |
<td class="long-desc"> [% LxERP.t8('This is the default bin for parts') %]<br> |
|
29 |
[% 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> |
|
30 |
</td> |
|
31 |
</tr> |
|
32 |
<tr> |
|
33 |
<th>[% LxERP.t8('Default Bin') %]</th> |
|
34 |
<td>[% L.select_tag('defaults.bin_id', [], id='bin_id', with_empty=1, class='wi-normal') %]</td> |
|
35 |
<td></td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<th>[% LxERP.t8('Default Transfer with Master Bin') %]</th> |
|
39 |
<td> [% L.yes_no_tag('defaults.transfer_default_use_master_default_bin', SELF.defaults.transfer_default_use_master_default_bin, class='wi-small') %] </td> |
|
40 |
<td class="long-desc"> [% LxERP.t8('Use master default bin for Default Transfer, if no default bin for the part is configured') %]<br> |
|
41 |
</td> |
|
42 |
</tr> |
|
43 |
<tr><th class="caption" colspan="3"> [% 'With Ignoring Onhand' | $T8 %] </th></tr> |
|
44 |
<tr> |
|
45 |
<th>[% LxERP.t8('Default Transfer Out with negative inventory') %]</th> |
|
46 |
<td> [% L.yes_no_tag('defaults.transfer_default_ignore_onhand', SELF.defaults.transfer_default_ignore_onhand, class='wi-small') %] </td> |
|
47 |
<td class="long-desc"> [% LxERP.t8('Default Transfer Out always succeed. The current part onhand is ignored and the inventory can have negative stocks (not recommended).') %]<br> |
|
48 |
</td> |
|
49 |
</tr> |
|
50 |
<tr> |
|
51 |
<th>[% LxERP.t8('Default Warehouse with ignoring onhand') %]</th> |
|
52 |
<td> [% 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', onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1, 'bin_id_ignore_onhand')", class='wi-normal') %] </td> |
|
53 |
<td class="long-desc"> [% LxERP.t8('This is the default warehouse for ignoring onhand') %] </td> |
|
54 |
</tr> |
|
55 |
<tr> |
|
56 |
<th>[% LxERP.t8('Default Bin with ignoring onhand') %]</th> |
|
57 |
<td>[% L.select_tag('defaults.bin_id_ignore_onhand', [], id='bin_id_ignore_onhand', with_empty=1, class='wi-normal') %]</td> |
|
58 |
<td class="long-desc">[% LxERP.t8('If the default transfer out always succeed use this bin for negative stock quantity.') %]</td> |
|
59 |
</tr> |
|
60 |
<tr><th class="caption" colspan="3"> [% 'Transfer Out & Assembly Transfer' | $T8 %] </th></tr> |
|
61 |
<tr> |
|
62 |
<th>[% LxERP.t8('Transfer out on posting sales invoices?') %]</th> |
|
63 |
<td> [% L.yes_no_tag('defaults.is_transfer_out', SELF.defaults.is_transfer_out) %] </td> |
|
64 |
<td class="long-desc"> [% LxERP.t8('Transfer out all items of a sales invoice when posting it. Items are transfered out acording to the settings above.') %] </td> |
|
65 |
</tr> |
|
66 |
<tr> |
|
67 |
<th>[% LxERP.t8('Match Sales Invoice Serial numbers with inventory charge numbers?') %]</th> |
|
68 |
<td>[% L.yes_no_tag('defaults.sales_serial_eq_charge', SELF.defaults.sales_serial_eq_charge) %]</td> |
|
69 |
<td class="long-desc">[% LxERP.t8('If one or more space separated serial numbers are assigned in a sales invoice, match the charge number of the inventory item. Assumes that Serial Number and Charge Number have 1:1 relation. Otherwise throw a error message for the default sales invoice transfer.') %]</td> |
|
70 |
</tr> |
|
71 |
<tr> |
|
72 |
<th>[% LxERP.t8('Use default warehouse for assembly transfer') %]</th> |
|
73 |
<td> [% L.yes_no_tag('defaults.transfer_default_warehouse_for_assembly', SELF.defaults.transfer_default_warehouse_for_assembly) %] </td> |
|
74 |
<td class="long-desc"> [% LxERP.t8('Transfer of assemblies uses the assembly\'s default warehouse instead of the destination warehouse.') %]<br> |
|
75 |
</td> |
|
76 |
</tr> |
|
77 |
<tr><th class="caption" colspan="3"> [% 'Bestbefore' | $T8 %] </th></tr> |
|
78 |
<tr> |
|
79 |
<th>[% LxERP.t8('Show Bestbefore') %]</th> |
|
80 |
<td> [% L.yes_no_tag('defaults.show_bestbefore', SELF.defaults.show_bestbefore) %] </td> |
|
81 |
<td class="long-desc"> [% LxERP.t8('Show fields used for the best before date?') %]<br> |
|
82 |
[% 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> |
|
83 |
[% LxERP.t8('This can be done with the following query:') %]<br> |
|
84 |
<br> |
|
85 |
UPDATE inventory SET bestbefore = NULL; <br> |
|
86 |
<br> |
|
87 |
[% LxERP.t8('Any stock contents containing a best before date will be impossible to stock out otherwise.') %] </td> |
|
88 |
</tr> |
|
89 |
</tbody> |
|
90 |
</table> |
|
96 | 91 |
|
97 |
<tr> |
|
98 |
<td align="right">[% LxERP.t8('Use default warehouse for assembly transfer') %]</td> |
|
99 |
<td> |
|
100 |
[% L.yes_no_tag('defaults.transfer_default_warehouse_for_assembly', SELF.defaults.transfer_default_warehouse_for_assembly) %] |
|
101 |
</td> |
|
102 |
<td> |
|
103 |
[% LxERP.t8('Transfer of assemblies uses the assembly\'s default warehouse instead of the destination warehouse.') %]<br> |
|
104 |
</td> |
|
105 |
</tr> |
|
106 |
<tr><td colspan="3"><hr /></td></tr> |
|
107 |
<tr> |
|
108 |
<tr> |
|
109 |
<td align="right">[% LxERP.t8('Show Bestbefore') %]</td> |
|
110 |
<td> |
|
111 |
[% L.yes_no_tag('defaults.show_bestbefore', SELF.defaults.show_bestbefore) %] |
|
112 |
</td> |
|
113 |
<td> |
|
114 |
[% LxERP.t8('Show fields used for the best before date?') %]<br> |
|
115 |
[% 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> |
|
116 |
[% LxERP.t8('This can be done with the following query:') %]<br> |
|
117 |
<br> |
|
118 |
UPDATE inventory SET bestbefore = NULL; <br> |
|
119 |
<br> |
|
120 |
[% LxERP.t8('Any stock contents containing a best before date will be impossible to stock out otherwise.') %] |
|
121 |
</td> |
|
122 |
</tr> |
|
123 |
</table> |
|
124 |
</div> |
|
92 |
</div><!-- /.wrapper --> |
|
93 |
</div><!-- /#warehouse --> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/client_config/_warehouse.html