From c09515fbfeebb03d4fa25e0910e2ecba73281189 Mon Sep 17 00:00:00 2001 From: tanshu Date: Thu, 9 Feb 2017 19:02:20 +0530 Subject: [PATCH] Fix: Employee Attendance and Account Detail --- brewman/static/app/employee/employee-attendance.controller.js | 2 +- brewman/static/app/overlord.app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/brewman/static/app/employee/employee-attendance.controller.js b/brewman/static/app/employee/employee-attendance.controller.js index 630a18da..71995962 100644 --- a/brewman/static/app/employee/employee-attendance.controller.js +++ b/brewman/static/app/employee/employee-attendance.controller.js @@ -27,7 +27,7 @@ var EmployeeAttendanceController = ['$scope', '$location', '$routeParams', 'asDa }); } else { - $location.path('/EmployeeAttendance/' + id).search({StartDate: startDate, FinishDate: finishDate}); + $location.path('/EmployeeAttendance/' + id).search({StartDate: $scope.info.StartDate, FinishDate: $scope.info.FinishDate}); } }; diff --git a/brewman/static/app/overlord.app.js b/brewman/static/app/overlord.app.js index 8898eabb..efd99df5 100644 --- a/brewman/static/app/overlord.app.js +++ b/brewman/static/app/overlord.app.js @@ -261,7 +261,7 @@ var overlord = angular.module('overlord', ['overlord.directive', 'overlord.filte resolve: AccountController.resolve }). when('/Account/:id', { - templateUrl: '/app/account-detail/account-detail.html', + templateUrl: '/app/account/account-detail.html', controller: AccountController, resolve: AccountController.resolve }).