Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a85900cb

Von Hans Peter Schlaepfer vor etwa 6 Jahren hinzugefügt

  • ID a85900cb68a578d89090043534ae79664a4070a9
  • Vorgänger 72c4037d
  • Nachfolger e7c11f83

Preview design 4.0

Unterschiede anzeigen:

templates/webpages/client_config/_warehouse.html
1
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%]
1
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%] 
2 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 services') %]</td>
15
   <td>
16
    [% L.yes_no_tag('defaults.transfer_default_services', SELF.defaults.transfer_default_services) %]
17
   </td>
18
   <td>
19
    [% LxERP.t8('Transfer services via default') %]<br>
20
   </td>
21
  </tr>
22
  <tr>
23
   <td align="right" nowrap="true">[% LxERP.t8('Default Warehouse') %]</td>
24
   <td>
25
    [% L.select_tag('defaults.warehouse_id', SELF.all_warehouses, id='warehouse_id', with_empty=1, default=SELF.defaults.warehouse_id, title_key='description',
26
                    onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1)") %]
27
   </td>
28
   <td>
29
    [% LxERP.t8('This is the default bin for parts') %]<br>
30
    [% 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>
31
   </td>
32
  </tr>
33
  <tr>
34
   <td align="right" nowrap="true">[% LxERP.t8('Default Bin') %]</td>
35
   <td>[% L.select_tag('defaults.bin_id', [], id='bin_id', with_empty=1) %]</td>
36
  </tr>
37
  <tr>
38
  <tr>
39
   <td align="right">[% LxERP.t8('Default Transfer with Master Bin') %]</td>
40
   <td>
41
    [% L.yes_no_tag('defaults.transfer_default_use_master_default_bin', SELF.defaults.transfer_default_use_master_default_bin) %]
42
   </td>
43
   <td>
44
    [% LxERP.t8('Use master default bin for Default Transfer, if no default bin for the part is configured') %]<br>
45
   </td>
46
  </tr>
47
  <tr><td colspan="3"><hr /></td></tr>
48
  <tr>
49
   <td align="right">[% LxERP.t8('Default Transfer Out with negative inventory') %]</td>
50
   <td>
51
    [% L.yes_no_tag('defaults.transfer_default_ignore_onhand', SELF.defaults.transfer_default_ignore_onhand) %]
52
   </td>
53
   <td>
54
    [% LxERP.t8('Default Transfer Out always succeed. The current part onhand is ignored and the inventory can have negative stocks (not recommended).') %]<br>
55
   </td>
56
  </tr>
57

  
58
 <tr>
59
   <td align="right" nowrap="true">[% LxERP.t8('Default Warehouse with ignoring onhand') %]</td>
60
   <td>
61
    [% 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',
62
                    onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1, 'bin_id_ignore_onhand')") %]
63
   </td>
64
   <td>
65
    [% LxERP.t8('This is the default warehouse for ignoring onhand') %]<br>
66
   </td>
67
  </tr>
68
  <tr>
69
   <td align="right" nowrap="true">[% LxERP.t8('Default Bin with ignoring onhand') %]</td>
70
   <td>[% L.select_tag('defaults.bin_id_ignore_onhand', [], id='bin_id_ignore_onhand', with_empty=1) %]</td>
71
   <td>[% LxERP.t8('If the default transfer out always succeed use this bin for negative stock quantity.') %]</td>
72
  </tr>
73
  <tr><td colspan="3"><hr /></td></tr>
74
  <tr>
75
   <td align="right">[% LxERP.t8('Transfer out on posting sales invoices?') %]</td>
76
   <td>
77
    [% L.yes_no_tag('defaults.is_transfer_out', SELF.defaults.is_transfer_out) %]
78
   </td>
79
   <td>
80
   [% LxERP.t8('Transfer out all items of a sales invoice when posting it. Items are transfered out acording to the settings above.') %]
81
   </td>
82
  </tr>
83
  <tr>
84
   <td align="right">[% LxERP.t8('Use default warehouse for assembly transfer') %]</td>
85
   <td>
86
    [% L.yes_no_tag('defaults.transfer_default_warehouse_for_assembly', SELF.defaults.transfer_default_warehouse_for_assembly) %]
87
   </td>
88
   <td>
89
    [% LxERP.t8('Transfer of assemblies uses the assembly\'s default warehouse instead of the destination warehouse.') %]<br>
90
   </td>
91
  </tr>
92
  <tr><td colspan="3"><hr /></td></tr>
93
  <tr>
94
  <tr>
95
   <td align="right">[% LxERP.t8('Show Bestbefore') %]</td>
96
   <td>
97
    [% L.yes_no_tag('defaults.show_bestbefore', SELF.defaults.show_bestbefore) %]
98
   </td>
99
   <td>
100
    [% LxERP.t8('Show fields used for the best before date?') %]<br>
101
    [% 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>
102
    [% LxERP.t8('This can be done with the following query:') %]<br>
103
    <br>
104
    UPDATE inventory SET bestbefore = NULL; <br>
105
    <br>
106
    [% LxERP.t8('Any stock contents containing a best before date will be impossible to stock out otherwise.') %]
107
   </td>
108
  </tr>
109
 </table>
3
<div class="pad-wrapper">
4
	<table class="tbl-horizontal">
5
		<caption>[% 'Default Warehouse' | $T8 %]</caption>
6
		<colgroup> <col class="wi-normal"><col class="wi-mediumsmall"><col class="wi-verywide"> </colgroup> 
7
		<tr>
8
			<th>[% LxERP.t8('Default Transfer') %]</th>
9
			<td> [% L.yes_no_tag('defaults.transfer_default', SELF.defaults.transfer_default, class='wi-small') %] </td>
10
			<td class="long-desc"> [% LxERP.t8('Show Transfer via default') %]<br>
11
			</td>
12
		</tr>
13
		<tr>
14
			<th>[% LxERP.t8('Default Transfer with services') %]</th>
15
			<td> [% L.yes_no_tag('defaults.transfer_default_services', SELF.defaults.transfer_default_services, class='wi-small') %] </td>
16
			<td class="long-desc"> [% LxERP.t8('Transfer services via default') %]<br>
17
			</td>
18
		</tr>
19
		<tr>
20
			<th>[% LxERP.t8('Default Warehouse') %]</th>
21
			<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>
22
			<td class="long-desc"> [% LxERP.t8('This is the default bin for parts') %]<br>
23
			[% 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>
24
			</td>
25
		</tr>
26
		<tr>
27
			<th>[% LxERP.t8('Default Bin') %]</th>
28
			<td>[% L.select_tag('defaults.bin_id', [], id='bin_id', with_empty=1, class='wi-normal') %]</td>
29
			<td></td>
30
		</tr>
31
		<tr>
32
			<th>[% LxERP.t8('Default Transfer with Master Bin') %]</th>
33
			<td> [% L.yes_no_tag('defaults.transfer_default_use_master_default_bin', SELF.defaults.transfer_default_use_master_default_bin, class='wi-small') %] </td>
34
			<td class="long-desc"> [% LxERP.t8('Use master default bin for Default Transfer, if no default bin for the part is configured') %]<br>
35
			</td>
36
		</tr>
37
		<tr><th class="caption" colspan="3"> [% 'With Ignoring Onhand' | $T8 %] </th></tr>
38
		<tr>
39
			<th>[% LxERP.t8('Default Transfer Out with negative inventory') %]</th>
40
			<td> [% L.yes_no_tag('defaults.transfer_default_ignore_onhand', SELF.defaults.transfer_default_ignore_onhand, class='wi-small') %] </td>
41
			<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>
42
			</td>
43
		</tr>
44
		<tr>
45
			<th>[% LxERP.t8('Default Warehouse with ignoring onhand') %]</th>
46
			<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>
47
			<td class="long-desc"> [% LxERP.t8('This is the default warehouse for ignoring onhand') %] </td>
48
		</tr>
49
		<tr>
50
			<th>[% LxERP.t8('Default Bin with ignoring onhand') %]</th>
51
			<td>[% L.select_tag('defaults.bin_id_ignore_onhand', [], id='bin_id_ignore_onhand', with_empty=1, class='wi-normal') %]</td>
52
			<td class="long-desc">[% LxERP.t8('If the default transfer out always succeed use this bin for negative stock quantity.') %]</td>
53
		</tr>
54
		<tr><th class="caption" colspan="3"> [% 'Transfer Out & Assembly Transfer' | $T8 %] </th></tr>
55
		<tr>
56
			<th>[% LxERP.t8('Transfer out on posting sales invoices?') %]</th>
57
			<td> [% L.yes_no_tag('defaults.is_transfer_out', SELF.defaults.is_transfer_out) %] </td>
58
			<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>
59
		</tr>
60
		<tr>
61
			<th>[% LxERP.t8('Use default warehouse for assembly transfer') %]</th>
62
			<td> [% L.yes_no_tag('defaults.transfer_default_warehouse_for_assembly', SELF.defaults.transfer_default_warehouse_for_assembly) %] </td>
63
			<td class="long-desc"> [% LxERP.t8('Transfer of assemblies uses the assembly\'s default warehouse instead of the destination warehouse.') %]<br>
64
			</td>
65
		</tr>
66
		<tr><th class="caption" colspan="3"> [% 'Bestbefore' | $T8 %] </th></tr>
67
		<tr>
68
			<th>[% LxERP.t8('Show Bestbefore') %]</th>
69
			<td> [% L.yes_no_tag('defaults.show_bestbefore', SELF.defaults.show_bestbefore) %] </td>
70
			<td class="long-desc"> [% LxERP.t8('Show fields used for the best before date?') %]<br>
71
			[% 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>
72
			[% LxERP.t8('This can be done with the following query:') %]<br>
73
			<br>
74
			UPDATE inventory SET bestbefore = NULL; <br>
75
			<br>
76
			[% LxERP.t8('Any stock contents containing a best before date will be impossible to stock out otherwise.') %] </td>
77
		</tr>
78
	</table>
79
</div>
110 80
</div>
81

  

Auch abrufbar als: Unified diff