diff --git a/app/views/origami/customers/index.html.erb b/app/views/origami/customers/index.html.erb index e788a08f..03c73fea 100755 --- a/app/views/origami/customers/index.html.erb +++ b/app/views/origami/customers/index.html.erb @@ -32,7 +32,7 @@
- +
@@ -423,13 +423,13 @@ success: function(data) { if(data.status == true) { - var id = $("#table_id").val() - var type = $("#type").val() + var id = $("#table_id").val(); + var type = $("#type").val(); if (type=="Table") { window.location.href = '/origami/table/'+id }else{ - window.location.href = '/origami/room/'+id - } + window.location.href = '/origami/room/'+id + } }else{ swal("Alert!", "Record not found!", "error"); location.reload();