modify call waiter
This commit is contained in:
@@ -19,7 +19,7 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', {
|
|||||||
class_name = ".shift_" + data.shift_ids;
|
class_name = ".shift_" + data.shift_ids;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var element = "#notify-wrapper" + class_name;
|
var element = "#notify-wrapper"; // + class_name;
|
||||||
var animateEnter = "";
|
var animateEnter = "";
|
||||||
var animateExit = "";
|
var animateExit = "";
|
||||||
if (time == 'print_error') {
|
if (time == 'print_error') {
|
||||||
@@ -79,4 +79,3 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
class Api::CallWaitersController < ActionController::API
|
class Api::CallWaitersController < Api::ApiController
|
||||||
|
|
||||||
#List all active customers by name
|
#List all active customers by name
|
||||||
def index
|
def index
|
||||||
@table_id = params[:dining_id]
|
@table_id = params[:dining_id]
|
||||||
|
|||||||
Reference in New Issue
Block a user