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

54 lines
1.7 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
<div id="form" class="orders">
<div class="box confirmed">
2015-03-06 23:33:54 +00:00
<div class="header">
2015-07-07 15:27:47 +00:00
<h1><t>LastOrders</t></h1>
<div class="action-bar">
<div id="balance">
<t>PendingBalance:</t>
2015-07-10 12:30:08 +00:00
<htk-label format="%.2d€" conditional-func="balanceConditionalFunc">
<db-calc-sum model="balance" column-name="amount"/>
</htk-label>
<img src="image/dark/info.svg" title="_PaymentInfo" class="balance-info" alt="Info"/>
</div>
<button id="pay-button" title="_MakePayment" on-click="onPayButtonClick">
2015-03-06 23:33:54 +00:00
<img src="image/dark/pay.svg" alt="_MakePayment"/>
</button>
2015-07-10 12:30:08 +00:00
<button on-click="onBasketClick" title="_ShoppingBasket">
<img src="image/dark/basket.svg" alt=""/>
<t>Basket</t>
</button>
2015-03-06 23:33:54 +00:00
</div>
2015-07-03 05:49:45 +00:00
<div class="clear"/>
2015-03-06 23:33:54 +00:00
</div>
<div>
2015-07-03 05:49:45 +00:00
<htk-grid show-header="false">
2015-03-06 23:33:54 +00:00
<db-model id="tickets">
CALL ticket_list ();
</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"/>
<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>
<div id="balance-popup" class="balance-popup">
2015-07-03 05:49:45 +00:00
<htk-grid class="balance-grid" show-header="false">
2015-07-07 15:27:47 +00:00
<db-model id="balance" result-index="1">
2015-07-23 15:58:48 +00:00
CALL customer_get_debt_by_company ();
2015-07-07 15:27:47 +00:00
SELECT * FROM t_customer_debt;
DROP TEMPORARY TABLE t_customer_debt;
2015-03-06 23:33:54 +00:00
</db-model>
<htk-column-text title="_Company" column="abbreviation"/>
<htk-column-spin title="_Pending" column="amount" unit="€" digits="2"/>
<htk-column-button title="_Pay" image="image/pay.svg" tip="Pay" on-clicked="onCompanyPayClick"/>
2015-03-06 23:33:54 +00:00
</htk-grid>
</div>
</vn>