change dashboard query and report

This commit is contained in:
phyusin
2018-05-18 18:01:44 +06:30
parent f5604d8c9c
commit e1bb01c029
6 changed files with 98 additions and 92 deletions

View File

@@ -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");