2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
2015-11-05 07:30:19 +00:00
|
|
|
<vn-group>
|
|
|
|
<db-model id="debt-model" result-index="1">
|
2015-11-09 08:14:33 +00:00
|
|
|
<custom>
|
|
|
|
CALL customer_get_debt_by_company ();
|
2015-12-02 17:26:58 +00:00
|
|
|
SELECT -amount amount FROM t_customer_debt;
|
2015-11-09 08:14:33 +00:00
|
|
|
DROP TEMPORARY TABLE t_customer_debt;
|
|
|
|
</custom>
|
2015-11-05 07:30:19 +00:00
|
|
|
</db-model>
|
|
|
|
</vn-group>
|
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">
|
2016-09-19 06:40:18 +00:00
|
|
|
<htk-bar-button
|
|
|
|
icon="basket"
|
2016-01-07 12:58:29 +00:00
|
|
|
tip="_ShoppingBasket"
|
2016-09-24 14:32:31 +00:00
|
|
|
show-text="false"
|
2016-01-07 12:58:29 +00:00
|
|
|
on-click="onBasketClick"/>
|
2016-09-19 06:40:18 +00:00
|
|
|
<htk-bar-button
|
2016-01-07 12:58:29 +00:00
|
|
|
id="pay-button"
|
2016-09-19 06:40:18 +00:00
|
|
|
icon="pay"
|
2016-01-07 12:58:29 +00:00
|
|
|
tip="_MakePayment"
|
2016-09-24 14:32:31 +00:00
|
|
|
show-text="false"
|
2016-01-07 12:58:29 +00:00
|
|
|
on-click="onPayButtonClick"/>
|
2015-11-26 12:30:04 +00:00
|
|
|
<div class="balance">
|
|
|
|
<span class="label">
|
|
|
|
<t>Balance:</t>
|
|
|
|
</span>
|
|
|
|
<span class="amount" id="balance">
|
|
|
|
<htk-text
|
|
|
|
format="%.2d€"
|
|
|
|
conditional-func="balanceConditionalFunc">
|
|
|
|
<db-calc-sum
|
|
|
|
property="param"
|
|
|
|
model="debt-model"
|
|
|
|
column-name="amount"
|
|
|
|
id="debt"/>
|
|
|
|
</htk-text>
|
|
|
|
</span>
|
|
|
|
<img
|
2016-09-24 14:32:31 +00:00
|
|
|
src="image/icon/dark/info.svg"
|
2015-11-26 12:30:04 +00:00
|
|
|
title="_PaymentInfo"
|
|
|
|
class="info"
|
|
|
|
alt="Info"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
<div id="form" class="orders">
|
2015-06-30 12:06:19 +00:00
|
|
|
<div class="box confirmed">
|
2015-12-02 17:26:58 +00:00
|
|
|
<htk-repeater form-id="iter" renderer="repeaterFunc">
|
2015-11-30 16:46:24 +00:00
|
|
|
<db-model property="model" id="tickets">
|
|
|
|
<custom>
|
|
|
|
CALL ticket_list ();
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
<custom>
|
2015-12-02 17:26:58 +00:00
|
|
|
<a id="link" class="item" title="_SeeOrder">
|
2015-12-10 23:41:55 +00:00
|
|
|
<p class="important total">
|
|
|
|
<htk-text form="iter" column="total" format="%.2d€"/>
|
|
|
|
</p>
|
2015-11-30 16:46:24 +00:00
|
|
|
<p class="important">
|
2016-01-15 12:31:08 +00:00
|
|
|
<htk-text form="iter" column="date" format="%D"/>
|
2015-11-30 16:46:24 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<htk-text form="iter" column="consignee"/>
|
|
|
|
</p>
|
|
|
|
<p>
|
2015-12-10 23:41:55 +00:00
|
|
|
<htk-text form="iter" column="type"/>
|
2015-11-30 16:46:24 +00:00
|
|
|
</p>
|
|
|
|
<div class="clear"/>
|
2015-12-02 17:26:58 +00:00
|
|
|
</a>
|
2015-11-30 16:46:24 +00:00
|
|
|
</custom>
|
|
|
|
</htk-repeater>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-01-15 12:31:08 +00:00
|
|
|
<htk-popup id="error-dialog" modal="true">
|
|
|
|
<div property="child-node" class="dialog">
|
|
|
|
<div>
|
|
|
|
<img src="image/error.svg" alt="_Error"/>
|
|
|
|
<p><t>An error has been in the payment</t></p>
|
|
|
|
<div class="clear"/>
|
|
|
|
</div>
|
|
|
|
<button class="thin" on-click="onRetryPay">
|
|
|
|
<t>Retry</t>
|
|
|
|
</button>
|
|
|
|
<button class="thin" on-click="onCancelPay">
|
|
|
|
<t>Accept</t>
|
|
|
|
</button>
|
|
|
|
<div class="clear"/>
|
|
|
|
</div>
|
|
|
|
</htk-popup>
|
2015-03-06 23:33:54 +00:00
|
|
|
</vn>
|