hedera-web/forms/ecomerce/orders/ui.xml

79 lines
1.7 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-17 12:42:10 +00:00
<db-form id="debt">
<db-model property="model">
2017-04-07 11:00:33 +00:00
SELECT clientGetDebt() debt
2017-03-17 12:42:10 +00:00
</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-04-07 11:00:33 +00:00
<htk-text lot="debt" name="debt" format="%.2d€"/>
2017-03-17 12:42:10 +00:00
</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>
2017-04-07 11:00:33 +00:00
<htk-date-chooser lot="hash" name="from"/>
2017-03-23 16:20:51 +00:00
</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">
2017-04-07 11:00:33 +00:00
<db-model property="model" id="tickets" lot="hash">
CALL clientTicketList (#from, NULL)
</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">
2017-04-07 11:00:33 +00:00
<htk-text lot="iter" name="total" format="%.2d€"/>
2015-12-10 23:41:55 +00:00
</p>
<p class="important">
2017-04-07 11:00:33 +00:00
<htk-text lot="iter" name="date" format="%D"/>
</p>
<p>
2017-04-07 11:00:33 +00:00
<htk-text lot="iter" name="consignee"/>
</p>
<p>
2017-04-07 11:00:33 +00:00
<htk-text lot="iter" name="type"/>
</p>
2017-03-17 12:42:10 +00:00
<p>
2017-04-07 11:00:33 +00:00
<htk-text lot="iter" name="ticket_id"/>
2017-03-17 12:42:10 +00:00
</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>