88 lines
2.0 KiB
XML
Executable File
88 lines
2.0 KiB
XML
Executable File
<vn>
|
|
<vn-group>
|
|
<db-form id="ticket">
|
|
<db-model property="model" lot="hash">
|
|
CALL clientTicketGet(#ticket)
|
|
</db-model>
|
|
</db-form>
|
|
</vn-group>
|
|
<h1 id="title">
|
|
<t>OrderDetail</t>
|
|
</h1>
|
|
<div id="actions" class="action-bar">
|
|
<htk-bar-button
|
|
icon="receipt"
|
|
tip="_Delivery note"
|
|
on-click="onPrintClick"/>
|
|
</div>
|
|
<div id="main" class="ticket">
|
|
<div class="card form">
|
|
<div class="head">
|
|
<div>
|
|
<p class="important ticket-id">
|
|
<htk-text name="id" lot="ticket"/>
|
|
</p>
|
|
<p>
|
|
<htk-text lot="ticket" name="delivery" format="%D"/>
|
|
</p>
|
|
</div>
|
|
<div>
|
|
<p>
|
|
<t>Delivery</t> <htk-text lot="ticket" name="Agencia"/>
|
|
</p>
|
|
<p>
|
|
<htk-text lot="ticket" name="consignee"/>
|
|
</p>
|
|
<p>
|
|
<htk-text lot="ticket" name="name"/>
|
|
</p>
|
|
<p>
|
|
<htk-text lot="ticket" name="zip_code"/>
|
|
<htk-text lot="ticket" name="city"/>
|
|
(<htk-text lot="ticket" name="province"/>)
|
|
</p>
|
|
</div>
|
|
<div>
|
|
<p class="important total">
|
|
<t>Total</t>
|
|
<htk-text lot="ticket" name="total" format="%.2d€"/>
|
|
</p>
|
|
<p class="important total">
|
|
<t>Total + VAT</t>
|
|
<htk-text lot="ticket" name="totalPlusVat" format="%.2d€"/>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<htk-repeater form-id="iter" renderer="repeaterFunc">
|
|
<db-model property="model" id="movements" lot="hash">
|
|
CALL clientTicketRowGet(#ticket)
|
|
</db-model>
|
|
<custom>
|
|
<div class="line">
|
|
<htk-image
|
|
lot="iter"
|
|
name="Foto"
|
|
class="photo"
|
|
directory="catalog"
|
|
subdir="200x200"
|
|
full-dir="900x900"/>
|
|
<p class="concept">
|
|
<htk-text lot="iter" name="concept"/>
|
|
<htk-text lot="iter" name="Medida"/>
|
|
<htk-text lot="iter" name="Categoria"/>
|
|
</p>
|
|
<p class="amount">
|
|
<htk-text lot="iter" name="amount"/> x
|
|
<htk-text lot="iter" name="price" format="%.2d€"/>
|
|
<span class="subtotal">
|
|
<htk-text id="subtotal" format="%.2d€"/>
|
|
</span>
|
|
</p>
|
|
<div class="clear"/>
|
|
</div>
|
|
</custom>
|
|
</htk-repeater>
|
|
</div>
|
|
</div>
|
|
</vn>
|