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

90 lines
1.9 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
2015-11-05 07:30:19 +00:00
<vn-group>
2017-03-23 16:20:51 +00:00
<vn-param id="from"/>
<vn-hash-param type="Date" key="from" param="from"/>
2017-03-17 12:42:10 +00:00
<db-form id="debt">
<db-model property="model">
<custom>
SELECT clientGetDebt() debt
</custom>
</db-model>
</db-form>
2015-11-05 07:30:19 +00:00
</vn-group>
2017-03-17 12:42:10 +00:00
<h1 id="title">
<t>LastOrders</t>
</h1>
2015-09-16 16:11:15 +00:00
<div id="actions">
2016-09-19 06:40:18 +00:00
<htk-bar-button
icon="basket"
tip="_ShoppingBasket"
2016-09-24 14:32:31 +00:00
show-text="false"
on-click="onBasketClick"/>
2016-09-19 06:40:18 +00:00
<htk-bar-button
id="pay-button"
2016-09-19 06:40:18 +00:00
icon="pay"
tip="_MakePayment"
2016-09-24 14:32:31 +00:00
show-text="false"
on-click="onPayButtonClick"/>
<div class="balance">
<span class="label">
<t>Balance:</t>
</span>
<span class="amount" id="balance">
2017-03-17 12:42:10 +00:00
<htk-text form="debt" column="debt" format="%.2d€"/>
</span>
<img
2016-09-24 14:32:31 +00:00
src="image/icon/dark/info.svg"
title="_PaymentInfo"
class="info"
alt="Info"/>
</div>
</div>
2017-03-23 16:20:51 +00:00
<div id="main" class="orders">
<div class="card form">
<div>
<label><t>Show orders from</t></label>
<htk-date-chooser param="from"/>
</div>
</div>
2016-12-23 08:57:49 +00:00
<div class="card list">
2015-12-02 17:26:58 +00:00
<htk-repeater form-id="iter" renderer="repeaterFunc">
<db-model property="model" id="tickets">
<custom>
2017-03-23 16:20:51 +00:00
CALL clientTicketList (#from, NULL)
</custom>
2017-03-23 16:20:51 +00:00
<sql-batch property="batch">
<custom>
<item name="from" param="from"/>
</custom>
</sql-batch>
</db-model>
<custom>
2016-12-23 08:57:49 +00:00
<a id="link" class="list-row" title="_SeeOrder">
2015-12-10 23:41:55 +00:00
<p class="important total">
<htk-text form="iter" column="total" format="%.2d€"/>
</p>
<p class="important">
<htk-text form="iter" column="date" format="%D"/>
</p>
<p>
<htk-text form="iter" column="consignee"/>
</p>
<p>
2015-12-10 23:41:55 +00:00
<htk-text form="iter" column="type"/>
</p>
2017-03-17 12:42:10 +00:00
<p>
<htk-text form="iter" column="ticket_id"/>
</p>
2015-12-02 17:26:58 +00:00
</a>
</custom>
</htk-repeater>
2015-03-06 23:33:54 +00:00
</div>
</div>
<htk-dialog
id="error-dialog"
icon="error"
message="_An error has been in the payment"
buttons="ACCEPT_RETRY"
on-response="onDialogResponse"/>
2015-03-06 23:33:54 +00:00
</vn>