2015-09-22 07:20:47 +00:00
|
|
|
<vn>
|
2015-11-05 07:30:19 +00:00
|
|
|
<vn-group>
|
|
|
|
<db-model property="model" id="configs-model">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
|
|
|
SELECT c.id, c.name, c.name_prefix, c.warehouse_id, c.family_id,
|
|
|
|
c.shelf_id, c.max_amount, c.show_packing, c.stack, t.reino_id
|
|
|
|
FROM shelf_config c
|
|
|
|
JOIN vn2008.Tipos t ON t.tipo_id = c.family_id
|
|
|
|
</custom>
|
2015-11-05 07:30:19 +00:00
|
|
|
</db-model>
|
|
|
|
</vn-group>
|
2015-09-22 07:20:47 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>Shelves</t></h1>
|
|
|
|
</div>
|
2016-09-19 06:40:18 +00:00
|
|
|
<div id="actions" class="action-bar">
|
|
|
|
<htk-bar-button
|
|
|
|
icon="print"
|
|
|
|
tip="_Preview"
|
|
|
|
on-click="onPreviewClick"/>
|
|
|
|
</div>
|
2015-09-22 07:20:47 +00:00
|
|
|
<div id="form" class="shelves">
|
|
|
|
<div class="box">
|
2015-12-02 17:26:58 +00:00
|
|
|
<div class="form">
|
2015-11-05 07:30:19 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Configuration</t></label>
|
|
|
|
<htk-combo
|
|
|
|
id="config"
|
|
|
|
placeholder="_Select config"
|
|
|
|
model="configs-model"
|
|
|
|
on-changed="onConfigChange"
|
|
|
|
on-ready="onConfigChange"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Date</t></label>
|
|
|
|
<htk-date-chooser id="date"/>
|
|
|
|
</div>
|
2015-09-22 07:20:47 +00:00
|
|
|
<div class="form-group">
|
2015-10-23 23:23:19 +00:00
|
|
|
<label><t>Reign</t></label>
|
|
|
|
<htk-combo id="reign">
|
|
|
|
<db-model property="model" id="reigns">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
|
|
|
SELECT id, reino FROM vn2008.reinos
|
|
|
|
WHERE display != FALSE ORDER BY reino
|
|
|
|
</custom>
|
2015-10-23 23:23:19 +00:00
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Family</t></label>
|
2015-11-05 07:30:19 +00:00
|
|
|
<htk-combo id="family">
|
2015-10-23 23:23:19 +00:00
|
|
|
<db-model property="model">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
|
|
|
SELECT tipo_id, Tipo FROM vn2008.Tipos
|
|
|
|
WHERE reino_id = #reign ORDER BY Tipo
|
|
|
|
</custom>
|
2015-10-23 23:23:19 +00:00
|
|
|
<sql-batch property="batch">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
|
|
|
<item name="reign" param="reign"/>
|
|
|
|
</custom>
|
2015-10-23 23:23:19 +00:00
|
|
|
</sql-batch>
|
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
2015-09-22 07:20:47 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Store</t></label>
|
|
|
|
<htk-combo id="warehouse">
|
|
|
|
<db-model property="model" id="warehouses">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
|
|
|
SELECT id, name FROM vn2008.warehouse
|
|
|
|
WHERE reserve ORDER BY name
|
|
|
|
</custom>
|
2015-09-22 07:20:47 +00:00
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Shelf</t></label>
|
|
|
|
<htk-combo id="shelf">
|
|
|
|
<db-model property="model" id="shelves">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
|
|
|
SELECT id, name FROM shelf
|
|
|
|
</custom>
|
2015-09-22 07:20:47 +00:00
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2015-10-23 23:23:19 +00:00
|
|
|
<label><t>Name prefix</t></label>
|
2015-11-05 07:30:19 +00:00
|
|
|
<htk-entry id="filter"/>
|
2015-09-22 07:20:47 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2015-10-23 23:23:19 +00:00
|
|
|
<label><t>Limit amount per item</t></label>
|
|
|
|
<htk-entry id="max-amount"/>
|
2015-09-22 07:20:47 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2015-10-23 23:23:19 +00:00
|
|
|
<label><t>Title</t></label>
|
|
|
|
<htk-entry id="report-title"/>
|
2015-09-22 07:20:47 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2015-10-23 23:23:19 +00:00
|
|
|
<label><t>Show packing</t></label>
|
|
|
|
<htk-check id="show-packing"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Stack different items</t></label>
|
|
|
|
<htk-check id="stack"/>
|
2015-09-22 07:20:47 +00:00
|
|
|
</div>
|
2016-09-19 06:40:18 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Use ids instead of names</t></label>
|
|
|
|
<htk-check id="use-ids"/>
|
|
|
|
</div>
|
2015-09-22 07:20:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|