|
|
@ -41,7 +41,10 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$scope.params.client_ids = angular.copy($scope.clientIds);
|
|
|
|
$scope.params.client_ids = angular.copy($scope.clientIds);
|
|
|
|
|
|
|
|
$scope.chooseLast7Days();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
$scope.chooseLast7Days();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$scope.today = new Date();
|
|
|
|
$scope.today = new Date();
|
|
|
|
$scope.chooseToday = function () {
|
|
|
|
$scope.chooseToday = function () {
|
|
|
@ -59,7 +62,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
|
|
|
|
var day = new Date();
|
|
|
|
var day = new Date();
|
|
|
|
day.setDate(day.getDate() - 7);
|
|
|
|
day.setDate(day.getDate() - 7);
|
|
|
|
$scope.params.datefrom = day;
|
|
|
|
$scope.params.datefrom = day;
|
|
|
|
$scope.chooseClient('all');
|
|
|
|
$scope.loadTradeLogs(1);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$scope.thisMonth = function () {
|
|
|
|
$scope.thisMonth = function () {
|
|
|
|
$scope.params.dateto = new Date();
|
|
|
|
$scope.params.dateto = new Date();
|
|
|
@ -208,7 +211,6 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
|
|
|
|
return url;
|
|
|
|
return url;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$scope.chooseLast7Days()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
|
|
|
|
|
|
|
|