Revision 421ed1f7
Von Bernd Bleßmann vor mehr als 7 Jahren hinzugefügt
templates/webpages/client_config/_stocktaking.html | ||
---|---|---|
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%]
|
||
<div id="stocktaking">
|
||
<table>
|
||
<tr>
|
||
<td align="right" nowrap="true">[% LxERP.t8('Preselected warehouse') %]</td>
|
||
<td>
|
||
[% L.select_tag('defaults.stocktaking_warehouse_id',
|
||
SELF.all_warehouses,
|
||
id='stocktaking_warehouse_id',
|
||
with_empty=1,
|
||
default=SELF.defaults.stocktaking_warehouse_id,
|
||
title_key='description',
|
||
onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1 ,'stocktaking_bin_id')") %]
|
||
</td>
|
||
<td>
|
||
[% LxERP.t8('If configured this warehouse will be preselected for stocktaking.') %]<br>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td align="right" nowrap="true">[% LxERP.t8('Preselected bin') %]</td>
|
||
<td>[% L.select_tag('defaults.stocktaking_bin_id', [], id='stocktaking_bin_id', with_empty=1) %]</td>
|
||
<td>
|
||
[% LxERP.t8('If configured this bin will be preselected for stocktaking.') %]<br>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
|
||
<tr>
|
||
<td align="right" nowrap="true">[% LxERP.t8('Preselected cutoff date') %]</td>
|
||
<td>[% L.date_tag('defaults.stocktaking_cutoff_date', SELF.defaults.stocktaking_cutoff_date) %]</td>
|
||
<td>
|
||
[% LxERP.t8('If configured this date will used as preselected cutoff date for stocktaking.') %]<br>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
|
||
</table>
|
||
</div>
|
templates/webpages/client_config/form.html | ||
---|---|---|
$(function() {
|
||
warehouse_selected([% SELF.defaults.warehouse_id || -1 %], [% SELF.defaults.bin_id || -1 %], 'bin_id');
|
||
warehouse_selected([% SELF.defaults.warehouse_id_ignore_onhand || -1 %], [% SELF.defaults.bin_id_ignore_onhand || -1 %], 'bin_id_ignore_onhand');
|
||
warehouse_selected([% SELF.defaults.stocktaking_warehouse_id || -1 %], [% SELF.defaults.stocktaking_bin_id || -1 %], 'stocktaking_bin_id');
|
||
|
||
enable_template_controls();
|
||
$('#doc_max_filesize_MB').val(parseInt($('#defaults_doc_max_filesize').val())/1000000.0);
|
||
... | ... | |
[%- END %]
|
||
<li><a href="#warehouse">[% LxERP.t8('Warehouse') %]</a></li>
|
||
<li><a href="#features">[% LxERP.t8('Features') %]</a></li>
|
||
<li><a href="#stocktaking">[% LxERP.t8('Stocktaking') %]</a></li>
|
||
</ul>
|
||
|
||
[% PROCESS 'client_config/_ranges_of_numbers.html' %]
|
||
... | ... | |
[%- END %]
|
||
[% PROCESS 'client_config/_warehouse.html' %]
|
||
[% PROCESS 'client_config/_features.html' %]
|
||
[% PROCESS 'client_config/_stocktaking.html' %]
|
||
[% PROCESS 'client_config/_miscellaneous.html' %]
|
||
</div>
|
||
</form>
|
Auch abrufbar als: Unified diff
Inventur: Mandantenkonfig: Voreinstellungen für Lager, Lagerplatz und Stichtag