Fix: Employee Attendance and Account Detail

This commit is contained in:
tanshu 2017-02-09 19:02:20 +05:30
parent e3d60f8c53
commit c09515fbfe
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ var EmployeeAttendanceController = ['$scope', '$location', '$routeParams', 'asDa
}); });
} }
else { else {
$location.path('/EmployeeAttendance/' + id).search({StartDate: startDate, FinishDate: finishDate}); $location.path('/EmployeeAttendance/' + id).search({StartDate: $scope.info.StartDate, FinishDate: $scope.info.FinishDate});
} }
}; };

View File

@ -261,7 +261,7 @@ var overlord = angular.module('overlord', ['overlord.directive', 'overlord.filte
resolve: AccountController.resolve resolve: AccountController.resolve
}). }).
when('/Account/:id', { when('/Account/:id', {
templateUrl: '/app/account-detail/account-detail.html', templateUrl: '/app/account/account-detail.html',
controller: AccountController, controller: AccountController,
resolve: AccountController.resolve resolve: AccountController.resolve
}). }).