|
|
@ -143,7 +143,7 @@ define(['angular', 'decimal', 'uiRouter', 'angularEcharts', '../../analysis/repo
|
|
|
|
app.controller('platformRevenueRootCtrl', ['$scope', '$http', '$filter', 'chartParser', function ($scope, $http, $filter, chartParser) {
|
|
|
|
app.controller('platformRevenueRootCtrl', ['$scope', '$http', '$filter', 'chartParser', function ($scope, $http, $filter, chartParser) {
|
|
|
|
$scope.params = {year: new Date().getFullYear()};
|
|
|
|
$scope.params = {year: new Date().getFullYear()};
|
|
|
|
|
|
|
|
|
|
|
|
$scope.availableYears = [new Date().getFullYear() - 1, new Date().getFullYear()];
|
|
|
|
$scope.availableYears = [new Date().getFullYear() - 4 ,new Date().getFullYear() - 3, new Date().getFullYear() - 2, new Date().getFullYear() - 1 ,new Date().getFullYear()];
|
|
|
|
$scope.initMonth = function (year) {
|
|
|
|
$scope.initMonth = function (year) {
|
|
|
|
$scope.months = [];
|
|
|
|
$scope.months = [];
|
|
|
|
for (var i = 1; i < 13; i++) {
|
|
|
|
for (var i = 1; i < 13; i++) {
|
|
|
|