diff --git "a/doc/\320\224\320\276\320\272\321\203\320\274\320\265\320\275\321\202\320\260\321\206\320\270\321\217.pdf" "b/doc/\320\224\320\276\320\272\321\203\320\274\320\265\320\275\321\202\320\260\321\206\320\270\321\217.pdf" index 780d4cf..0af27bb 100644 Binary files "a/doc/\320\224\320\276\320\272\321\203\320\274\320\265\320\275\321\202\320\260\321\206\320\270\321\217.pdf" and "b/doc/\320\224\320\276\320\272\321\203\320\274\320\265\320\275\321\202\320\260\321\206\320\270\321\217.pdf" differ diff --git a/src/client/admin/adminController.coffee b/src/client/admin/adminController.coffee index 4ee0500..9afd25a 100644 --- a/src/client/admin/adminController.coffee +++ b/src/client/admin/adminController.coffee @@ -17,7 +17,7 @@ controller = (simpleDialogService, $state, $controller, $scope, stopLoadingServi RESTHelperService.visit.find (res) -> ctrl.listOfVisits = res.visits stopLoadingService "admin" - + stopStatistics = $scope.$watch "ordersCtrl.listOfOrders", (orders) -> if not orders? then return beggin = ctrl.fromDate @@ -30,7 +30,7 @@ controller = (simpleDialogService, $state, $controller, $scope, stopLoadingServi interval = current: diff, label: "" intervals = {} about = ["count", "delivered", "revenue", "visits", "users"] - + emptyRecord = -> obj = {} obj[stat] = 0 for stat in about @@ -60,7 +60,7 @@ controller = (simpleDialogService, $state, $controller, $scope, stopLoadingServi label = interval.label interval.current++ intervals[label][info] += data[info] for info in about - + buildCharts = -> labels = [] charts = @@ -113,4 +113,4 @@ controller = (simpleDialogService, $state, $controller, $scope, stopLoadingServi controller.$inject = ["simpleDialogService", "$state", "$controller", "$scope", "stopLoadingService", "RESTHelperService", "$filter", "dateService", "showDescriptionService", "statusOptions", "notificationService", "confirmService"] -module.exports = controller \ No newline at end of file +module.exports = controller