57 lines
1.5 KiB
XML
57 lines
1.5 KiB
XML
<vn>
|
|
<vn-group>
|
|
<db-form id="ticket">
|
|
<db-model property="model" id="ticket-data" conn="conn" lot="hash">
|
|
CALL myTicketGet(#ticket)
|
|
</db-model>
|
|
</db-form>
|
|
</vn-group>
|
|
<div id="report" class="sheet">
|
|
<h2>
|
|
<htk-text name="id" lot="ticket"/>
|
|
</h2>
|
|
<div class="header">
|
|
<p>
|
|
<htk-text lot="ticket" name="nickname"/>
|
|
</p>
|
|
<p>
|
|
<htk-text lot="ticket" name="landed" format="%D"/>
|
|
</p>
|
|
<p>
|
|
<htk-text lot="ticket" name="street"/>
|
|
</p>
|
|
<p>
|
|
<htk-text lot="ticket" name="postalCode"/>
|
|
<htk-text lot="ticket" name="city"/>
|
|
(<htk-text lot="ticket" name="province"/>)
|
|
</p>
|
|
<p>
|
|
_Delivery <htk-text lot="ticket" name="agency"/>
|
|
</p>
|
|
</div>
|
|
<htk-grid>
|
|
<db-model property="model" id="movements" conn="conn" lot="hash">
|
|
CALL myTicketGetRows(#ticket)
|
|
</db-model>
|
|
<htk-column-spin title="_Ref" column="itemFk"/>
|
|
<htk-column-spin title="_Amount" column="quantity"/>
|
|
<htk-column-text title="_Item" column="concept"/>
|
|
<htk-column-text title="_S1" column="size"/>
|
|
<htk-column-text title="_Cat" column="category"/>
|
|
<htk-column-text title="_Color" column="color"/>
|
|
<htk-column-spin title="_Price" column="price" unit="€" digits="2"/>
|
|
<htk-column-spin title="_Import" unit="€" digits="2" renderer="subtotalRenderer"/>
|
|
</htk-grid>
|
|
<div class="footer">
|
|
<p>
|
|
_Total
|
|
<htk-text lot="ticket" name="taxBase" format="%.2d€"/>
|
|
</p>
|
|
<p>
|
|
_Total + tax
|
|
<htk-text lot="ticket" name="total" format="%.2d€"/>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</vn>
|