From bfcb624e3c9997fedf20e38f3ecaa51c529a92cf Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Fri, 7 Nov 2025 16:11:48 +0530 Subject: [PATCH] Establishment dashboard --- app/controllers/dashboard.controller.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/dashboard.controller.js b/app/controllers/dashboard.controller.js index f7e8a14..2afefaa 100644 --- a/app/controllers/dashboard.controller.js +++ b/app/controllers/dashboard.controller.js @@ -151,11 +151,10 @@ exports.getEstablishmentDashboard = async (req, res) => { // if not submitted yet → add for start survey if (!submissionMatch) { surveyReady.push({ - quarterId: q.id, + year: q.year, quarter: q.quarter, start_date: q.start_date, end_date: q.end_date, - year: q.year, }); } }