forked from verdnatura/hedera-web
55 lines
2.1 KiB
PHP
Executable File
55 lines
2.1 KiB
PHP
Executable File
<div id="orders">
|
|
<div class="info">
|
|
<img src="image/order.png" alt=""/>
|
|
<?php i('StartedOrdersDesc') ?>
|
|
<button id="start-order"><?php i('StartOrder') ?></button>
|
|
</div>
|
|
<div>
|
|
<htk-grid>
|
|
<db-model>
|
|
SELECT o.id, date_make, date_send, Agencia
|
|
FROM order_view o
|
|
JOIN vn2008.Agencias a ON o.type_id = a.Id_Agencia
|
|
</db-model>
|
|
<htk-column-button column="id" image="image/edit.png" tip="ContinueOrder" id="edit-order"/>
|
|
<htk-column-spin title="OrderNumber" column="id"/>
|
|
<htk-column-date title="DateMake" column="date_make"/>
|
|
<htk-column-date title="DateExit" column="date_send"/>
|
|
<htk-column-text title="SendMethod" column="Agencia"/>
|
|
</htk-grid>
|
|
</div>
|
|
<div class="info">
|
|
<img src="image/ok.png" alt=""/>
|
|
<?php i('ConfirmedOrdersDesc') ?>
|
|
<button id="money-delivery"><?php i('MoneyDelivery') ?></button>
|
|
</div>
|
|
<div>
|
|
<htk-grid>
|
|
<db-model id="tickets">
|
|
CALL ticket_list ();
|
|
</db-model>
|
|
<htk-column-button column="ticket_id" image="image/show.png" tip="SeeOrder" id="edit-ticket"/>
|
|
<htk-column-spin title="TicketNumber" column="ticket_id"/>
|
|
<htk-column-date title="DateExit" column="date"/>
|
|
<htk-column-text title="SendMethod" column="type"/>
|
|
<htk-column-text title="SentAddress" column="consignee"/>
|
|
<htk-column-text column="city"/>
|
|
<htk-column-spin title="TotalWithVAT" column="total" unit="€" digits="2"/>
|
|
<htk-column-spin title="Pending" column="pending" unit="€" digits="2"/>
|
|
<htk-column-button image="image/pay.png" tip="PayOrder" id="pay-ticket"/>
|
|
</htk-grid>
|
|
</div>
|
|
<form method="post" id="tpv-form">
|
|
<input type="hidden" name="Ds_Merchant_Amount"/>
|
|
<input type="hidden" name="Ds_Merchant_Order"/>
|
|
<input type="hidden" name="Ds_Merchant_MerchantCode"/>
|
|
<input type="hidden" name="Ds_Merchant_Currency"/>
|
|
<input type="hidden" name="Ds_Merchant_TransactionType"/>
|
|
<input type="hidden" name="Ds_Merchant_Terminal"/>
|
|
<input type="hidden" name="Ds_Merchant_MerchantURL"/>
|
|
<input type="hidden" name="Ds_Merchant_MerchantSignature"/>
|
|
<input type="hidden" name="Ds_Merchant_UrlOK"/>
|
|
<input type="hidden" name="Ds_Merchant_UrlKO"/>
|
|
</form>
|
|
</div>
|