fix: back redirect in discount
This commit is contained in:
@@ -283,7 +283,10 @@
|
|||||||
var sale_id = $('#sale-id').text();
|
var sale_id = $('#sale-id').text();
|
||||||
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 (type=="Table") {
|
if (type=="Table") {
|
||||||
window.location.href = '/foodcourt/table/'+id
|
window.location.href = '/foodcourt/table/'+id
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user