diff --git a/src/main/ui/static/payment/tradelog/transflow.js b/src/main/ui/static/payment/tradelog/transflow.js index 516c39feb..07e9d43e2 100644 --- a/src/main/ui/static/payment/tradelog/transflow.js +++ b/src/main/ui/static/payment/tradelog/transflow.js @@ -265,16 +265,18 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) { } if ($scope.currentUser.client.has_children && !$scope.currentUser.client.hide_sub_mch) { $scope.searchSubClients('',1); - $scope.params.dateto = new Date(); - var day = new Date(); - day.setDate(day.getDate() - 7); - $scope.params.datefrom = day; + // $scope.params.dateto = new Date(); + // var day = new Date(); + // day.setDate(day.getDate() - 7); + // $scope.params.datefrom = day; + $scope.params.datefrom = $scope.params.dateto = new Date(); $scope.chooseClient('all'); }else { - $scope.params.dateto = new Date(); - var day = new Date(); - day.setDate(day.getDate() - 7); - $scope.params.datefrom = day; + // $scope.params.dateto = new Date(); + // var day = new Date(); + // day.setDate(day.getDate() - 7); + // $scope.params.datefrom = day; + $scope.params.datefrom = $scope.params.dateto = new Date(); $scope.chooseClient('all'); }