|
|
|
@ -78,6 +78,7 @@ define(['angular', 'decimal', 'uiRouter', 'angularEcharts', '../../analysis/repo
|
|
|
|
|
}]);
|
|
|
|
|
app.controller('platformRevenueRootCtrl', ['$scope', '$http', '$filter', 'chartParser', function ($scope, $http, $filter, chartParser) {
|
|
|
|
|
$scope.params = {year: new Date().getFullYear()};
|
|
|
|
|
|
|
|
|
|
$scope.availableYears = [new Date().getFullYear() - 1, new Date().getFullYear()];
|
|
|
|
|
$scope.initMonth = function (year) {
|
|
|
|
|
$scope.months = [];
|
|
|
|
|