From 24f5bb686c460e75c6aeeded730c2b3e744333ee Mon Sep 17 00:00:00 2001 From: Pyae Bhone Zaw Date: Mon, 30 Jun 2025 13:05:57 +0630 Subject: [PATCH] fix: redirect after charges --- app/views/foodcourt/other_charges/index.html.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/foodcourt/other_charges/index.html.erb b/app/views/foodcourt/other_charges/index.html.erb index dbfd90a7..6805012f 100755 --- a/app/views/foodcourt/other_charges/index.html.erb +++ b/app/views/foodcourt/other_charges/index.html.erb @@ -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 }