Temp commit
This commit is contained in:
parent
8a3af678d6
commit
622b1bd332
@ -159,12 +159,13 @@ exports.getEstablishmentDashboard = async (req, res) => {
|
|||||||
year: q.year,
|
year: q.year,
|
||||||
quarter: q.quarter,
|
quarter: q.quarter,
|
||||||
establishment_id: establishment_id ,
|
establishment_id: establishment_id ,
|
||||||
status: {
|
|
||||||
[Op.ne]: "Draft", // not equal
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// status: {
|
||||||
|
// [Op.ne]: "Draft", // not equal
|
||||||
|
// },
|
||||||
|
|
||||||
// if not submitted yet → add for start survey
|
// if not submitted yet → add for start survey
|
||||||
if (!submissionMatch) {
|
if (!submissionMatch) {
|
||||||
surveyReady.push({
|
surveyReady.push({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user