2015-10-21 23:34:35 +00:00
|
|
|
<vn>
|
|
|
|
<div id="title">
|
|
|
|
<h1><t>Shelves</t></h1>
|
|
|
|
</div>
|
|
|
|
<div id="form" class="shelves">
|
|
|
|
<div class="box">
|
|
|
|
<div class="body">
|
|
|
|
<div class="form-group">
|
2015-10-23 23:41:11 +00:00
|
|
|
<label><t>Reign</t></label>
|
|
|
|
<htk-combo id="reign">
|
|
|
|
<db-model property="model" id="reigns">
|
|
|
|
SELECT id, reino FROM vn2008.reinos
|
|
|
|
WHERE display != FALSE ORDER BY reino
|
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Family</t></label>
|
|
|
|
<htk-combo id="family" on-changed="onFamilyChange" on-ready="onFamilyChange">
|
|
|
|
<db-model property="model">
|
|
|
|
SELECT tipo_id, Tipo FROM vn2008.Tipos
|
|
|
|
WHERE reino_id = #reign ORDER BY Tipo
|
|
|
|
<sql-batch property="batch">
|
|
|
|
<item name="reign" param="reign"/>
|
|
|
|
</sql-batch>
|
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
2015-10-21 23:34:35 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Store</t></label>
|
|
|
|
<htk-combo id="warehouse">
|
|
|
|
<db-model property="model" id="warehouses">
|
|
|
|
SELECT id, name FROM vn2008.warehouse
|
|
|
|
WHERE reserve ORDER BY name
|
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Date</t></label>
|
|
|
|
<htk-date-chooser id="date"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Shelf</t></label>
|
|
|
|
<htk-combo id="shelf">
|
|
|
|
<db-model property="model" id="shelves">
|
|
|
|
SELECT id, name FROM vn2008.shelf
|
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2015-10-23 23:41:11 +00:00
|
|
|
<label><t>Name prefix</t></label>
|
|
|
|
<input type="text" id="filter"/>
|
2015-10-21 23:34:35 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2015-10-23 23:41:11 +00:00
|
|
|
<label><t>Limit amount per item</t></label>
|
|
|
|
<htk-entry id="max-amount"/>
|
2015-10-21 23:34:35 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2015-10-23 23:41:11 +00:00
|
|
|
<label><t>Title</t></label>
|
|
|
|
<htk-entry id="report-title"/>
|
2015-10-21 23:34:35 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2015-10-23 23:41:11 +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-10-21 23:34:35 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
|
|
|
<button class="thin" on-click="onPreviewClick">
|
|
|
|
<t>Preview</t>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|