gwm
This commit is contained in:
parent
215977dbd3
commit
76e972cf34
@ -168,7 +168,7 @@ exports.adminDashboard = async (req, res) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const lastConfig = await QuarterlyWindowsConfiguration.findOne({ where: whereCond });
|
const QuarterlyWindows = await QuarterlyWindowsConfiguration.findOne({ where: whereCond });
|
||||||
|
|
||||||
const whereCond = {};
|
const whereCond = {};
|
||||||
if (quarter) whereCond.quarter = quarter;
|
if (quarter) whereCond.quarter = quarter;
|
||||||
@ -234,6 +234,7 @@ exports.adminDashboard = async (req, res) => {
|
|||||||
pending: pendingCount,
|
pending: pendingCount,
|
||||||
not_started: notStartedCount,
|
not_started: notStartedCount,
|
||||||
},
|
},
|
||||||
|
quarterly_windows : QuarterlyWindows,
|
||||||
recent_submissions: recentSubmissions,
|
recent_submissions: recentSubmissions,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user