Revision 421ed1f7
Von Bernd Bleßmann vor etwa 7 Jahren hinzugefügt
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 |
</table> |
|
39 |
</div> |
templates/webpages/client_config/form.html | ||
---|---|---|
68 | 68 |
$(function() { |
69 | 69 |
warehouse_selected([% SELF.defaults.warehouse_id || -1 %], [% SELF.defaults.bin_id || -1 %], 'bin_id'); |
70 | 70 |
warehouse_selected([% SELF.defaults.warehouse_id_ignore_onhand || -1 %], [% SELF.defaults.bin_id_ignore_onhand || -1 %], 'bin_id_ignore_onhand'); |
71 |
warehouse_selected([% SELF.defaults.stocktaking_warehouse_id || -1 %], [% SELF.defaults.stocktaking_bin_id || -1 %], 'stocktaking_bin_id'); |
|
71 | 72 |
|
72 | 73 |
enable_template_controls(); |
73 | 74 |
$('#doc_max_filesize_MB').val(parseInt($('#defaults_doc_max_filesize').val())/1000000.0); |
... | ... | |
95 | 96 |
[%- END %] |
96 | 97 |
<li><a href="#warehouse">[% LxERP.t8('Warehouse') %]</a></li> |
97 | 98 |
<li><a href="#features">[% LxERP.t8('Features') %]</a></li> |
99 |
<li><a href="#stocktaking">[% LxERP.t8('Stocktaking') %]</a></li> |
|
98 | 100 |
</ul> |
99 | 101 |
|
100 | 102 |
[% PROCESS 'client_config/_ranges_of_numbers.html' %] |
... | ... | |
107 | 109 |
[%- END %] |
108 | 110 |
[% PROCESS 'client_config/_warehouse.html' %] |
109 | 111 |
[% PROCESS 'client_config/_features.html' %] |
112 |
[% PROCESS 'client_config/_stocktaking.html' %] |
|
110 | 113 |
[% PROCESS 'client_config/_miscellaneous.html' %] |
111 | 114 |
</div> |
112 | 115 |
</form> |
Auch abrufbar als: Unified diff
Inventur: Mandantenkonfig: Voreinstellungen für Lager, Lagerplatz und Stichtag