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

77 lines
1.6 KiB
XML
Executable File

<vn>
<vn-group>
<db-form id="debt">
<db-model property="model">
<custom>
SELECT clientGetDebt() debt
</custom>
</db-model>
</db-form>
</vn-group>
<h1 id="title">
<t>LastOrders</t>
</h1>
<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 form="debt" column="debt" format="%.2d€"/>
</span>
<img
src="image/icon/dark/info.svg"
title="_PaymentInfo"
class="info"
alt="Info"/>
</div>
</div>
<div id="form" class="orders">
<div class="card list">
<htk-repeater form-id="iter" renderer="repeaterFunc">
<db-model property="model" id="tickets">
<custom>
CALL clientTicketList ()
</custom>
</db-model>
<custom>
<a id="link" class="list-row" title="_SeeOrder">
<p class="important total">
<htk-text form="iter" column="total" format="%.2d€"/>
</p>
<p class="important">
<htk-text form="iter" column="date" format="%D"/>
</p>
<p>
<htk-text form="iter" column="consignee"/>
</p>
<p>
<htk-text form="iter" column="type"/>
</p>
<p>
<htk-text form="iter" column="ticket_id"/>
</p>
</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>