2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>LastOrders</t></h1>
|
|
|
|
</div>
|
2015-09-16 16:11:15 +00:00
|
|
|
<div id="actions">
|
2015-11-26 12:30:04 +00:00
|
|
|
<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"
|
2015-11-26 12:30:04 +00:00
|
|
|
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>
|
2015-11-26 12:30:04 +00:00
|
|
|
</htk-text>
|
2022-05-28 00:37:24 +00:00
|
|
|
</span>
|
|
|
|
<htk-icon
|
|
|
|
name="info"
|
2015-11-26 12:30:04 +00:00
|
|
|
title="_PaymentInfo"
|
2022-05-28 00:37:24 +00:00
|
|
|
class="info"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</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"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</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>
|
2016-10-20 08:37:08 +00:00
|
|
|
<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"
|
2016-10-20 08:37:08 +00:00
|
|
|
on-response="onDialogResponse"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</vn>
|