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 ();
|
|
|
|
SELECT * FROM t_customer_debt;
|
|
|
|
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">
|
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
|
|
|
|
src="image/dark/info.svg"
|
|
|
|
title="_PaymentInfo"
|
|
|
|
class="info"
|
|
|
|
alt="Info"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
2015-09-16 16:11:15 +00:00
|
|
|
<htk-button
|
|
|
|
id="pay-button"
|
|
|
|
image="image/dark/pay.svg"
|
|
|
|
tip="_MakePayment"
|
|
|
|
on-click="onPayButtonClick"/>
|
|
|
|
<htk-button
|
|
|
|
image="image/dark/basket.svg"
|
|
|
|
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">
|
2015-06-30 12:06:19 +00:00
|
|
|
<div class="box confirmed">
|
2015-03-06 23:33:54 +00:00
|
|
|
<div>
|
2015-07-03 05:49:45 +00:00
|
|
|
<htk-grid show-header="false">
|
2015-11-09 08:14:33 +00:00
|
|
|
<db-model property="model" id="tickets">
|
|
|
|
<custom>
|
|
|
|
CALL ticket_list ();
|
|
|
|
</custom>
|
2015-03-06 23:33:54 +00:00
|
|
|
</db-model>
|
2015-07-03 05:49:45 +00:00
|
|
|
<htk-column-date column="date" format="%A, %e of %B"/>
|
|
|
|
<htk-column-text title="_SendMethod" column="type"/>
|
|
|
|
<htk-column-spin column="total" unit="€" digits="2"/>
|
2015-03-27 19:10:49 +00:00
|
|
|
<htk-column-button
|
|
|
|
column="ticket_id"
|
|
|
|
image="image/show.svg"
|
|
|
|
tip="_SeeOrder"
|
|
|
|
on-clicked="onShowClick"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</htk-grid>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|