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

69 lines
1.5 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">
2022-06-18 21:04:34 +00:00
SELECT -myClient_getDebt(NULL) debt
2017-12-14 14:33:48 +00:00
</db-model>
</db-form>
</htk-text>
2022-05-28 00:37:24 +00:00
</span>
<htk-icon
name="info"
title="_PaymentInfo"
2022-05-28 00:37:24 +00:00
class="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">
2022-06-18 21:04:34 +00:00
CALL myTicket_list(NULL, NULL);
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>