modify call waiter

This commit is contained in:
Zin Moe
2020-07-29 16:26:35 +06:30
parent 91378c21f5
commit 143b509efe
2 changed files with 14 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', {
class_name = ".shift_" + data.shift_ids;
}
}
var element = "#notify-wrapper" + class_name;
var element = "#notify-wrapper"; // + class_name;
var animateEnter = "";
var animateExit = "";
if (time == 'print_error') {
@@ -79,4 +79,3 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', {
}
}
});

View File

@@ -1,5 +1,4 @@
class Api::CallWaitersController < ActionController::API
class Api::CallWaitersController < Api::ApiController
#List all active customers by name
def index
@table_id = params[:dining_id]