update payment view for cloud
This commit is contained in:
@@ -652,7 +652,7 @@ var pdf_view = '<%=@pdf_view%>';
|
|||||||
|
|
||||||
payment_type = '';
|
payment_type = '';
|
||||||
|
|
||||||
if ($("#server_mode").val() != "cloud") { // first bill not used in cloud
|
// if ($("#server_mode").val() != "cloud") { // first bill not used in cloud
|
||||||
payment_type = checkReceiptNoInFirstBillData(receipt_no,"payment");
|
payment_type = checkReceiptNoInFirstBillData(receipt_no,"payment");
|
||||||
// console.log(payment_type)
|
// console.log(payment_type)
|
||||||
// console.log(parseInt(jQuery.inArray("MPU", payment_type)))
|
// console.log(parseInt(jQuery.inArray("MPU", payment_type)))
|
||||||
@@ -678,7 +678,7 @@ var pdf_view = '<%=@pdf_view%>';
|
|||||||
$("#card_payment").hide();
|
$("#card_payment").hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
/* end check first bill or not*/
|
/* end check first bill or not*/
|
||||||
|
|
||||||
var dining_id = "<%= @sale_data.bookings[0].dining_facility_id %>";
|
var dining_id = "<%= @sale_data.bookings[0].dining_facility_id %>";
|
||||||
|
|||||||
Reference in New Issue
Block a user