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