add payment type in order reservation

This commit is contained in:
phyusin
2018-06-11 16:19:59 +06:30
parent 859794e291
commit 425e72afe7
5 changed files with 24 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ $(function() {
$('#cancel').hide();
$(".tbl_customer").hide();
$(".order_close_cashier").hide();
$(".order_payment_type").hide();
$(function() {
$('.first-1').click();
});
@@ -253,6 +254,8 @@ function refreshDetailData(){
$('#grand_total').text("0.00");
$(".tbl_customer").hide();
$(".order_close_cashier").hide();
$(".order_payment_type").hide();
$("#payment_type").text("");
}
//show order list
@@ -355,6 +358,8 @@ function show_order_detail(url,sr_no){
$('#phone').text(data.phone);
$('#address').text(address);
$(".order_payment_type").show();
$("#payment_type").text(data.payment_type);
$('#ref_no').text(data.transaction_ref);
$('#callback_url').text(data.callback_url);
$('#order_id').text(data.order_reservation_id);