update osaka discoun 5%
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
|
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
|
||||||
|
|
||||||
<input type="text" name="filter" style="margin-right:10px" id="search" placeholder="Search" class="form-control input-sm col-md-12">
|
<input type="text" name="filter" style="margin-right:10px" id="search" placeholder="Search" class="form-control input-sm col-md-12">
|
||||||
<input type="hidden" name="type" id="type" value="<%= @dining_facility.type %>">
|
<!-- <input type="hidden" name="type" id="type" value="<%= @dining_facility.type %>"> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-12">
|
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-12">
|
||||||
@@ -423,13 +423,13 @@
|
|||||||
success: function(data) {
|
success: function(data) {
|
||||||
if(data.status == true)
|
if(data.status == true)
|
||||||
{
|
{
|
||||||
var id = $("#table_id").val()
|
var id = $("#table_id").val();
|
||||||
var type = $("#type").val()
|
var type = $("#type").val();
|
||||||
if (type=="Table") {
|
if (type=="Table") {
|
||||||
window.location.href = '/origami/table/'+id
|
window.location.href = '/origami/table/'+id
|
||||||
}else{
|
}else{
|
||||||
window.location.href = '/origami/room/'+id
|
window.location.href = '/origami/room/'+id
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
swal("Alert!", "Record not found!", "error");
|
swal("Alert!", "Record not found!", "error");
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user