food court and Booking ID for order and receipt
This commit is contained in:
@@ -321,7 +321,7 @@ var access_code = localStorage.getItem("access_code");
|
||||
$('#back').on('click', function () {
|
||||
var table_id = '<%= @table_id %>'
|
||||
var sale_id = "<%= @saleobj.sale_id %>"
|
||||
if (cashier_type=="quick_service") {
|
||||
if (cashier_type=="quick_service" || cashier_type == "food_court") {
|
||||
window.location.href = '/origami/sale/'+sale_id+'/'+cashier_type+'/payment/';
|
||||
}else{
|
||||
window.location.href = '/origami/table/' + table_id;
|
||||
@@ -350,7 +350,7 @@ var access_code = localStorage.getItem("access_code");
|
||||
url: ajax_url,
|
||||
data: 'sale_id=' + sale_id+'&type='+cashier_type,
|
||||
success: function (result) {
|
||||
if (cashier_type=="quick_service") {
|
||||
if (cashier_type=="quick_service" || cashier_type=="food_court") {
|
||||
window.location.href = '/origami/sale/'+sale_id+'/'+cashier_type+'/payment/';
|
||||
}else{
|
||||
window.location.href = '/origami/table/' + table_id;
|
||||
|
||||
Reference in New Issue
Block a user