update call waiter channel
This commit is contained in:
@@ -6,9 +6,8 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', {
|
||||
disconnected: function() {},
|
||||
|
||||
received: function(data) {
|
||||
console.log(data.table);
|
||||
console.log(data.time);
|
||||
table = data.table
|
||||
|
||||
// for Notificaiotn message
|
||||
var placementFrom = "top";
|
||||
var placementAlign = "center";
|
||||
@@ -31,7 +30,6 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', {
|
||||
},
|
||||
{
|
||||
type: colorName,
|
||||
newest_on_top: true,
|
||||
allow_dismiss: allowDismiss,
|
||||
newest_on_top: true,
|
||||
timer: 200000000000000,
|
||||
|
||||
@@ -380,7 +380,7 @@
|
||||
});
|
||||
|
||||
$('#pay').click(function() {
|
||||
$('#pay').text("Processing, Please wait!")
|
||||
// $('#pay').text("Processing, Please wait!")
|
||||
|
||||
$( "#loading_wrapper" ).show();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user