80 lines
1.7 KiB
XML
80 lines
1.7 KiB
XML
<vn>
|
|
<div id="title">
|
|
<h1><t>LastOrders</t></h1>
|
|
</div>
|
|
<div id="actions">
|
|
<htk-bar-button
|
|
icon="basket"
|
|
tip="_ShoppingBasket"
|
|
show-text="false"
|
|
on-click="onBasketClick"/>
|
|
<htk-bar-button
|
|
id="pay-button"
|
|
icon="pay"
|
|
tip="_MakePayment"
|
|
show-text="false"
|
|
on-click="onPayButtonClick"/>
|
|
<div class="balance">
|
|
<span class="label">
|
|
<t>Balance:</t>
|
|
</span>
|
|
<span class="amount" id="balance">
|
|
<htk-text id="debt"
|
|
format="%.2d€"
|
|
conditional-func="balanceConditionalFunc"
|
|
column="debt">
|
|
<db-form property="form">
|
|
<db-model property="model">
|
|
<custom>
|
|
SELECT -myClient_getDebt(NULL) debt
|
|
</custom>
|
|
</db-model>
|
|
</db-form>
|
|
</htk-text>
|
|
</span>
|
|
<img
|
|
src="image/icon/dark/info.svg"
|
|
title="_PaymentInfo"
|
|
class="info"
|
|
alt="Info"/>
|
|
</div>
|
|
</div>
|
|
<div id="form" class="orders">
|
|
<div class="box confirmed">
|
|
<htk-repeater form-id="iter" renderer="repeaterFunc">
|
|
<db-model property="model" id="tickets">
|
|
<custom>
|
|
CALL myTicket_list (NULL, NULL);
|
|
</custom>
|
|
</db-model>
|
|
<custom>
|
|
<a id="link" class="item" title="_SeeOrder">
|
|
<p class="important total">
|
|
<htk-text form="iter" column="total" format="%.2d€"/>
|
|
</p>
|
|
<p class="important">
|
|
<htk-text form="iter" column="landed" format="%D"/>
|
|
</p>
|
|
<p>
|
|
@<htk-text form="iter" column="id"/>
|
|
</p>
|
|
<p>
|
|
<htk-text form="iter" column="nickname"/>
|
|
</p>
|
|
<p>
|
|
<htk-text form="iter" column="agency"/>
|
|
</p>
|
|
<div class="clear"/>
|
|
</a>
|
|
</custom>
|
|
</htk-repeater>
|
|
</div>
|
|
</div>
|
|
<htk-dialog
|
|
id="error-dialog"
|
|
icon="error"
|
|
message="_An error has been in the payment"
|
|
buttons="ACCEPT_RETRY"
|
|
on-response="onDialogResponse"/>
|
|
</vn>
|