change dashboard query and report
This commit is contained in:
@@ -19,7 +19,9 @@ App.check_new_order = App.cable.subscriptions.create('CheckNewOrderChannel', {
|
||||
});
|
||||
|
||||
// alert(order_lists);
|
||||
checkNewOrderAlert(shop_code, order_lists);
|
||||
if (typeof checkNewOrderAlert !== 'undefined' && $.isFunction(checkNewOrderAlert)) {
|
||||
checkNewOrderAlert(shop_code, order_lists);
|
||||
}
|
||||
// $("#notify_new_order_lists").text(order_lists);
|
||||
// if($("#"+shop_code+"_notify_new_order").hasClass("hidden")){
|
||||
// $("#"+shop_code+"_notify_new_order").removeClass("hidden");
|
||||
|
||||
Reference in New Issue
Block a user