fix: redirect after charges

This commit is contained in:
Pyae Bhone Zaw
2025-06-30 13:05:57 +06:30
committed by DevTeam
parent 29d4bfd992
commit 24f5bb686c

View File

@@ -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
} }