diff --git a/backend/controllers/attendance_controller.js b/backend/controllers/attendance_controller.js index 531ce9d..4a500fe 100644 --- a/backend/controllers/attendance_controller.js +++ b/backend/controllers/attendance_controller.js @@ -166,7 +166,7 @@ module.exports.report = (req, res) => { ] }, { '$eq': [ - '$ApprovedDetails.ActionTakenOn', true + '$Status', 'Approved' ] } ]