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