mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2025-01-14 08:01:07 +01:00
dead commented code
This commit is contained in:
parent
a0c31d60b3
commit
d3ad2025a3
1 changed files with 0 additions and 2 deletions
|
@ -75,8 +75,6 @@ app.controller( 'BalanceCtrl',
|
|||
} );
|
||||
|
||||
var retrieve_data = function() {
|
||||
// $scope.from_date = moment().subtract( $scope.period_offset, 'months' ).startOf( 'month' ).toDate();
|
||||
// $scope.to_date = moment().subtract( $scope.period_offset, 'months' ).endOf( 'month' ).toDate();
|
||||
$scope.from_date = new Date( $scope.dates_salaries[ $scope.period_offset ] );
|
||||
$scope.to_date = ( $scope.period_offset < $scope.dates_salaries.length - 1 ) ? new Date( $scope.dates_salaries[ $scope.period_offset + 1 ] ) : null;
|
||||
var from = moment( $scope.from_date );
|
||||
|
|
Loading…
Reference in a new issue