98 lines
2.3 KiB
XML
Executable File
98 lines
2.3 KiB
XML
Executable File
<vn>
|
|
<vn-basic-set id="lot"/>
|
|
<h1 id="title">
|
|
<t>Shelves</t>
|
|
</h1>
|
|
<div id="actions">
|
|
<htk-bar-button
|
|
icon="show"
|
|
tip="_Show"
|
|
on-click="onShowClick"/>
|
|
</div>
|
|
<div id="main" class="shelves">
|
|
<div class="card form">
|
|
<div>
|
|
<label><t>Configuration</t></label>
|
|
<htk-combo
|
|
id="config"
|
|
placeholder="_Select config"
|
|
model="configs-model"
|
|
lot="hash"
|
|
name="config"
|
|
on-changed="onConfigChange"
|
|
on-ready="onConfigChange">
|
|
<db-model property="model" id="configs-model">
|
|
SELECT c.id, c.name reportTitle, c.namePrefix, c.warehouse, c.family,
|
|
c.shelf, c.maxAmount, c.showPacking, c.stack, t.reino_id realm
|
|
FROM shelfConfig c
|
|
JOIN vn2008.Tipos t ON t.tipo_id = c.family
|
|
</db-model>
|
|
</htk-combo>
|
|
</div>
|
|
<div>
|
|
<label><t>Date</t></label>
|
|
<htk-date-chooser lot="lot" name="date"/>
|
|
</div>
|
|
<div>
|
|
<label><t>Reign</t></label>
|
|
<htk-combo lot="lot" name="realm" id="realm">
|
|
<db-model property="model">
|
|
SELECT id, reino FROM vn2008.reinos
|
|
WHERE display != FALSE ORDER BY reino
|
|
</db-model>
|
|
</htk-combo>
|
|
</div>
|
|
<div>
|
|
<label><t>Family</t></label>
|
|
<htk-combo lot="lot" name="family">
|
|
<db-model property="model" lot="lot">
|
|
SELECT tipo_id, Tipo FROM vn2008.Tipos
|
|
WHERE reino_id = #realm ORDER BY Tipo
|
|
</db-model>
|
|
</htk-combo>
|
|
</div>
|
|
<div>
|
|
<label><t>Store</t></label>
|
|
<htk-combo lot="lot" name="warehouse">
|
|
<db-model property="model">
|
|
SELECT id, name FROM vn2008.warehouse
|
|
WHERE reserve ORDER BY name
|
|
</db-model>
|
|
</htk-combo>
|
|
</div>
|
|
<div>
|
|
<label><t>Shelf</t></label>
|
|
<htk-combo lot="lot" name="shelf">
|
|
<db-model property="model">
|
|
SELECT id, name FROM shelf
|
|
</db-model>
|
|
</htk-combo>
|
|
</div>
|
|
<div>
|
|
<label><t>Name prefix</t></label>
|
|
<htk-entry lot="lot" name="namePrefix"/>
|
|
</div>
|
|
<div>
|
|
<label><t>Limit amount per item</t></label>
|
|
<htk-entry lot="lot" name="maxAmount"/>
|
|
</div>
|
|
<div>
|
|
<label><t>Title</t></label>
|
|
<htk-entry lot="lot" name="reportTitle"/>
|
|
</div>
|
|
<div>
|
|
<label><t>Show packing</t></label>
|
|
<htk-check lot="lot" name="showPacking"/>
|
|
</div>
|
|
<div>
|
|
<label><t>Stack different items</t></label>
|
|
<htk-check lot="lot" name="stack"/>
|
|
</div>
|
|
<div>
|
|
<label><t>Use ids instead of names</t></label>
|
|
<htk-check lot="lot" name="useIds"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</vn>
|