2015-11-19 13:57:23 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
|
|
|
<db-form id="ticket">
|
2017-04-07 11:00:33 +00:00
|
|
|
<db-model property="model" id="ticket-data" conn="conn" lot="hash">
|
|
|
|
CALL clientTicketGet(#ticket)
|
2015-11-19 13:57:23 +00:00
|
|
|
</db-model>
|
|
|
|
</db-form>
|
|
|
|
</vn-group>
|
|
|
|
<div id="report" class="sheet">
|
2015-11-26 12:30:04 +00:00
|
|
|
<h2>
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-text name="id" lot="ticket"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</h2>
|
|
|
|
<div class="header">
|
|
|
|
<p>
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-text lot="ticket" name="consignee"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-text lot="ticket" name="date" format="%D"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-text lot="ticket" name="name"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-text lot="ticket" name="zip_code"/>
|
|
|
|
<htk-text lot="ticket" name="city"/>
|
|
|
|
(<htk-text lot="ticket" name="province"/>)
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-04-07 11:00:33 +00:00
|
|
|
<t>Delivery</t> <htk-text lot="ticket" name="Agencia"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
2015-11-19 13:57:23 +00:00
|
|
|
<htk-grid>
|
2017-04-07 11:00:33 +00:00
|
|
|
<db-model property="model" id="movements" conn="conn" lot="hash">
|
|
|
|
CALL clientTicketRowGet(#ticket)
|
2015-11-19 13:57:23 +00:00
|
|
|
</db-model>
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-column-spin title="_Ref" name="item"/>
|
|
|
|
<htk-column-spin title="_Amount" name="amount"/>
|
|
|
|
<htk-column-text title="_Item" name="concept"/>
|
|
|
|
<htk-column-text title="_S1" name="Medida"/>
|
|
|
|
<htk-column-text title="_Cat" name="Categoria"/>
|
|
|
|
<htk-column-text title="_Color" name="Color"/>
|
|
|
|
<htk-column-spin title="_Price" name="price" unit="€" digits="2"/>
|
2017-03-09 12:30:39 +00:00
|
|
|
<htk-column-spin title="_Import" unit="€" digits="2" renderer="subtotalRenderer"/>
|
2015-11-19 13:57:23 +00:00
|
|
|
</htk-grid>
|
2017-03-17 12:42:10 +00:00
|
|
|
<div class="footer">
|
|
|
|
<p>
|
|
|
|
<t>Total</t>
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-text lot="ticket" name="total" format="%.2d€"/>
|
2017-03-17 12:42:10 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<t>Total + VAT</t>
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-text lot="ticket" name="totalPlusVat" format="%.2d€"/>
|
2017-03-17 12:42:10 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
2015-11-19 13:57:23 +00:00
|
|
|
</div>
|
|
|
|
</vn>
|