phoucking fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user