update access code in spereat view
This commit is contained in:
@@ -1116,7 +1116,7 @@
|
||||
if (result.status == true) {
|
||||
createAccessCode(code);
|
||||
if (type == "edit") {
|
||||
var dining_id = "<%= @dining.id %>";
|
||||
var dining_id = "<%= @dining.id rescue "" %> ";
|
||||
var sale_id = "<%= @obj_sale.sale_id rescue "" %>";
|
||||
window.location.href = '/origami/table/' + dining_id + "/sale/" + sale_id + "/"+cashier_type +"/edit";
|
||||
}else if(type == "void"){
|
||||
|
||||
Reference in New Issue
Block a user