0
1
Fork 0
hedera-web-mindshore/forms/ecomerce/ticket/ui.xml

104 lines
2.4 KiB
XML
Raw Normal View History

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">
2017-03-17 12:42:10 +00:00
<db-model property="model">
<custom>
2017-03-17 12:42:10 +00:00
CALL clientTicketGet(#ticket)
</custom>
2015-03-06 23:33:54 +00:00
<sql-batch property="batch">
<custom>
<item name="ticket" param="ticket-id"/>
</custom>
2015-03-06 23:33:54 +00:00
</sql-batch>
</db-model>
</db-form>
</vn-group>
2017-03-17 12:42:10 +00:00
<h1 id="title">
<t>OrderDetail</t>
</h1>
<div id="actions" class="action-bar">
2016-09-19 06:40:18 +00:00
<htk-bar-button
2017-03-17 12:42:10 +00:00
icon="receipt"
tip="_Delivery note"
2016-09-19 06:40:18 +00:00
on-click="onPrintClick"/>
</div>
2017-03-23 16:20:51 +00:00
<div id="main" class="ticket">
2016-12-23 08:57:49 +00:00
<div class="card form">
<div class="head">
<div>
<p class="important ticket-id">
2017-04-05 14:06:07 +00:00
<htk-text name"id" lot="ticket"/>
</p>
2015-12-10 13:48:43 +00:00
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="ticket" name"delivery" format="%D"/>
2015-12-10 13:48:43 +00:00
</p>
</div>
<div>
<p>
2017-04-05 14:06:07 +00:00
<t>Delivery</t> <htk-text lot="ticket" name"Agencia"/>
</p>
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="ticket" name"consignee"/>
</p>
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="ticket" name"name"/>
</p>
<p>
2017-04-05 14:06:07 +00:00
<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>
2017-04-05 14:06:07 +00:00
<htk-text lot="ticket" name"total" format="%.2d€"/>
2017-03-17 12:42:10 +00:00
</p>
<p class="important total">
<t>Total + VAT</t>
2017-04-05 14:06:07 +00:00
<htk-text lot="ticket" name"totalPlusVat" format="%.2d€"/>
</p>
</div>
</div>
<htk-repeater form-id="iter" renderer="repeaterFunc">
<db-model property="model" id="movements">
<custom>
2017-03-17 12:42:10 +00:00
CALL clientTicketRowGet(#ticket)
</custom>
<sql-batch property="batch">
<custom>
<item name="ticket" param="ticket-id"/>
</custom>
</sql-batch>
</db-model>
<custom>
<div class="line">
2017-03-09 12:30:39 +00:00
<htk-image
2017-04-05 14:06:07 +00:00
lot="iter"
name"Foto"
2017-03-09 12:30:39 +00:00
class="photo"
directory="catalog"
subdir="200x200"
full-dir="900x900"/>
<p class="concept">
2017-04-05 14:06:07 +00:00
<htk-text lot="iter" name"concept"/>
<htk-text lot="iter" name"Medida"/>
<htk-text lot="iter" name"Categoria"/>
</p>
<p class="amount">
2017-04-05 14:06:07 +00:00
<htk-text lot="iter" name"amount"/> x
<htk-text lot="iter" name"price" format="%.2d€"/>
2017-03-09 12:30:39 +00:00
<span class="subtotal">
<htk-text id="subtotal" format="%.2d€"/>
</span>
</p>
<div class="clear"/>
</div>
</custom>
</htk-repeater>
2015-03-06 23:33:54 +00:00
</div>
</div>
</vn>