@eeplatform/basic-edu 1.10.37 → 1.10.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -5489,7 +5489,8 @@ function useEnrollmentService() {
|
|
|
5489
5489
|
getAll: _getAll,
|
|
5490
5490
|
getByApplicantInfo: _getByApplicantInfo,
|
|
5491
5491
|
getById: _getById,
|
|
5492
|
-
updateStatusById: _updateStatusById
|
|
5492
|
+
updateStatusById: _updateStatusById,
|
|
5493
|
+
removeProgramById
|
|
5493
5494
|
} = useEnrollmentRepo();
|
|
5494
5495
|
const {
|
|
5495
5496
|
add: addProgramScreening,
|
|
@@ -5684,6 +5685,7 @@ function useEnrollmentService() {
|
|
|
5684
5685
|
}
|
|
5685
5686
|
if (programScreening && programScreening.status === "cancelled" && enrollment.status === "cancelled" && enrollment.specialProgram && status === "pending") {
|
|
5686
5687
|
await updateStatusByApplicantId(_id, "reclassified", session);
|
|
5688
|
+
await removeProgramById(_id, session);
|
|
5687
5689
|
}
|
|
5688
5690
|
await session.commitTransaction();
|
|
5689
5691
|
return "Enrollment accepted successfully";
|