From 7208b11071c502c12336e4e86748367de3023f21 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Fri, 6 Jul 2018 15:54:18 +0630 Subject: [PATCH] update payment view for cloud --- app/views/origami/payments/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb index 248258e7..04ae1d5a 100755 --- a/app/views/origami/payments/show.html.erb +++ b/app/views/origami/payments/show.html.erb @@ -652,7 +652,7 @@ var pdf_view = '<%=@pdf_view%>'; 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"); // console.log(payment_type) // console.log(parseInt(jQuery.inArray("MPU", payment_type))) @@ -678,7 +678,7 @@ var pdf_view = '<%=@pdf_view%>'; $("#card_payment").hide(); } } - } + // } /* end check first bill or not*/ var dining_id = "<%= @sale_data.bookings[0].dining_facility_id %>";