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

74 lines
1.6 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
<div id="title">
<h1><t>LastOrders</t></h1>
</div>
2015-09-16 16:11:15 +00:00
<div id="actions">
<div class="balance">
<span class="label">
<t>Balance:</t>
</span>
<span class="amount" id="balance">
2017-12-14 14:33:48 +00:00
<htk-text id="debt"
format="%.2d€"
2017-12-14 14:33:48 +00:00
conditional-func="balanceConditionalFunc"
column="debt">
<db-form property="form">
<db-model property="model">
<custom>
2019-05-28 14:27:28 +00:00
SELECT -myClient_getDebt(NULL) debt
2017-12-14 14:33:48 +00:00
</custom>
</db-model>
</db-form>
</htk-text>
2017-12-14 14:33:48 +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>
2022-05-21 21:31:56 +00:00
<htk-bar-button
id="pay-button"
icon="payments"
tip="_MakePayment"
on-click="onPayButtonClick"/>
<htk-bar-button
icon="shopping_cart"
tip="_ShoppingBasket"
on-click="onBasketClick"/>
</div>
2015-03-06 23:33:54 +00:00
<div id="form" class="orders">
2022-05-26 06:08:31 +00:00
<htk-repeater
class="htk-list box confirmed vn-w-sm"
form-id="iter"
renderer="repeaterFunc">
<db-model property="model" id="tickets">
<custom>
2022-05-26 06:08:31 +00:00
CALL myTicket_list (NULL, NULL);
</custom>
2022-05-26 06:08:31 +00:00
</db-model>
<custom>
<a id="link" class="item" title="{{_('SeeOrder')}}">
<div class="content">
<p class="important total">
{{Vn.Value.format(iter.total, '%.2d€')}}
</p>
<p class="important">
{{Vn.Value.format(iter.landed, '%D')}}
</p>
<p>#{{iter.id}}</p>
<p>{{iter.nickname}}</p>
<p>{{iter.agency}}</p>
</div>
</a>
</custom>
</htk-repeater>
2015-03-06 23:33:54 +00:00
</div>
<htk-dialog
id="error-dialog"
icon="error"
message="_An error has been in the payment"
2020-05-04 21:05:52 +00:00
buttons="RETRY_CANCEL"
on-response="onDialogResponse"/>
2015-03-06 23:33:54 +00:00
</vn>