fix: redirect after charges
This commit is contained in:
@@ -338,7 +338,10 @@
|
||||
}, function () {
|
||||
if (cashier_type=="quick_service" || cashier_type=="food_court") {
|
||||
window.location.href = '/foodcourt/sale/'+sale_id+'/'+cashier_type+'/payment/';
|
||||
}else{
|
||||
} else if (cashier_type == "food_court_qr") {
|
||||
window.location.href = '/foodcourt/'+sale_id+'/qrpay/precreate';
|
||||
}
|
||||
else{
|
||||
if(result.table_type == "Table"){
|
||||
window.location.href = "/foodcourt/table/" + result.table_id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user