2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
2016-10-27 11:22:04 +00:00
|
|
|
<vn-param id="ticket-id" on-changed="onTicketChange"/>
|
2015-11-19 13:57:23 +00:00
|
|
|
<vn-hash-param key="ticket" param="ticket-id"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
<db-form id="ticket">
|
2016-10-27 11:22:04 +00:00
|
|
|
<db-model id="ticket-data" property="model">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
2018-01-02 13:16:41 +00:00
|
|
|
CALL myTicketGet (#ticket)
|
2015-11-17 10:34:33 +00:00
|
|
|
</custom>
|
2015-03-06 23:33:54 +00:00
|
|
|
<sql-batch property="batch">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
|
|
|
<item name="ticket" param="ticket-id"/>
|
|
|
|
</custom>
|
2015-03-06 23:33:54 +00:00
|
|
|
</sql-batch>
|
|
|
|
</db-model>
|
|
|
|
</db-form>
|
|
|
|
</vn-group>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>OrderDetail</t></h1>
|
|
|
|
</div>
|
|
|
|
<div id="actions" class="action-bar">
|
2016-09-19 06:40:18 +00:00
|
|
|
<htk-bar-button
|
|
|
|
icon="print"
|
2015-11-19 13:57:23 +00:00
|
|
|
tip="_Print delivery note"
|
2016-09-19 06:40:18 +00:00
|
|
|
on-click="onPrintClick"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
<div id="form" class="ticket">
|
|
|
|
<div class="box">
|
2015-11-26 12:30:04 +00:00
|
|
|
<div class="head">
|
|
|
|
<div>
|
|
|
|
<p class="important ticket-id">
|
|
|
|
<htk-text column="id" form="ticket"/>
|
|
|
|
</p>
|
2015-12-10 13:48:43 +00:00
|
|
|
<p>
|
2018-01-02 13:16:41 +00:00
|
|
|
<htk-text form="ticket" column="landed" format="%D"/>
|
2015-12-10 13:48:43 +00:00
|
|
|
</p>
|
2015-11-26 12:30:04 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<p>
|
2018-01-02 13:16:41 +00:00
|
|
|
<t>Delivery</t> <htk-text form="ticket" column="agency"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2018-01-02 13:16:41 +00:00
|
|
|
<htk-text form="ticket" column="nickname"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2018-01-02 13:16:41 +00:00
|
|
|
<htk-text form="ticket" column="street"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2018-01-02 13:16:41 +00:00
|
|
|
<htk-text form="ticket" column="postalCode"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
<htk-text form="ticket" column="city"/>
|
|
|
|
(<htk-text form="ticket" column="province"/>)
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<p class="important total">
|
2016-01-08 21:00:02 +00:00
|
|
|
<t>Total</t>
|
2018-01-02 13:16:41 +00:00
|
|
|
<htk-text format="%.2d€" form="ticket" column="taxBase"/>
|
|
|
|
</p>
|
|
|
|
<p class="important total">
|
|
|
|
<t>Total + tax</t>
|
|
|
|
<htk-text format="%.2d€" form="ticket" column="total"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-11-30 16:46:24 +00:00
|
|
|
<htk-repeater form-id="iter" renderer="repeaterFunc">
|
2015-11-26 12:30:04 +00:00
|
|
|
<db-model property="model" id="movements">
|
|
|
|
<custom>
|
2018-01-02 13:16:41 +00:00
|
|
|
CALL myTicketGetRows (#ticket)
|
2015-11-26 12:30:04 +00:00
|
|
|
</custom>
|
|
|
|
<sql-batch property="batch">
|
2015-11-17 10:34:33 +00:00
|
|
|
<custom>
|
2015-11-26 12:30:04 +00:00
|
|
|
<item name="ticket" param="ticket-id"/>
|
2015-11-17 10:34:33 +00:00
|
|
|
</custom>
|
2015-11-26 12:30:04 +00:00
|
|
|
</sql-batch>
|
|
|
|
</db-model>
|
|
|
|
<custom>
|
|
|
|
<div class="line">
|
|
|
|
<p class="concept">
|
|
|
|
<htk-text form="iter" column="concept"/>
|
2018-01-02 13:16:41 +00:00
|
|
|
<htk-text form="iter" column="size"/>
|
|
|
|
<htk-text form="iter" column="category"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
</p>
|
|
|
|
<p class="amount">
|
2018-01-02 13:16:41 +00:00
|
|
|
<htk-text form="iter" column="quantity"/> x
|
2015-11-26 12:30:04 +00:00
|
|
|
<htk-text form="iter" column="price" format="%.2d€"/>
|
|
|
|
</p>
|
|
|
|
<p class="subtotal">
|
|
|
|
<htk-text id="subtotal" format="%.2d€"/>
|
|
|
|
</p>
|
|
|
|
<div class="clear"/>
|
|
|
|
</div>
|
|
|
|
</custom>
|
|
|
|
</htk-repeater>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|