membership settings UI

This commit is contained in:
phyusin
2018-11-08 10:37:41 +06:30
parent 9da751e6f5
commit ab10a50a68
2 changed files with 21 additions and 14 deletions

View File

@@ -707,8 +707,9 @@ var customer_name = "<%= @customer.name %>";
var pdf_view = '<%=@pdf_view%>';
var trans_flag = <%= @trans_flag %>;
var paymalcount = <%= @paymalcount %>;
// console.log(pdf_view)
$(document).ready(function(){
// console.log(pdf_view)
$(document).ready(function(){
$("#sxModal").hide();
if(cashier_type == "food_court" && paymalcount == 0.0){
$("#is_paymemberModal").modal({show : true, backdrop : false, keyboard : false});
}
@@ -1663,7 +1664,7 @@ var paymalcount = <%= @paymalcount %>;
}
});
// Read Card Reader
// Read Card Reader - Paymal payment for FoodCourt
$(".btn_paymal_member").on('click', function (){
var cardNo = "";
var sale_id = $("#sale_id").text() || 0;