phoucking fix

This commit is contained in:
Dev Team
2025-06-19 19:17:14 +06:30
parent e3b51e6137
commit ae7f23b3f0

View File

@@ -68,15 +68,22 @@ function member_card(cardNo) {
if (booking_id.length > 0) {
params.booking_id = booking_id;
}
// alert('ajax', ajax_url);
$.ajax({
type: "POST",
url: ajax_url,
data: params,
dataType: "json",
success:function(result) {
// alert(">>>>>>>>>>> result");
if (result.sale_id) {
// alert(">>>>>>>>>>> modify order after api");
sale_id = result.sale_id;
window.location.href = '/foodcourt/sale/'+sale_id+'/food_court/payment/';
}else {
request_bill(g_membership_id, g_customer_id, g_customer_name);
}
}
});