Skip to content

Commit

Permalink
updating doc to be up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
NoHomey committed May 13, 2016
1 parent 060a0a7 commit c87ef66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file modified doc/Документация.pdf
Binary file not shown.
8 changes: 4 additions & 4 deletions src/client/admin/adminController.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 =
Expand Down Expand Up @@ -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
module.exports = controller

0 comments on commit c87ef66

Please sign in to comment.