From 51218abd30ad01da003db597b48ef04e6a23989b Mon Sep 17 00:00:00 2001 From: charlesjin123 Date: Sat, 11 Jan 2025 15:51:39 +0800 Subject: [PATCH] finished year check for program outcomes submission and set model member status when adding/editing orgs --- .../src/AddOrganization/AddOrganization.tsx | 13 +++++++ .../src/EditOrganization/EditOrganization.tsx | 29 +++++++++++----- client/src/SubmissionForms/ProgramOutcome.tsx | 34 +++++++++++++++++-- .../controllers/organization.controller.ts | 9 +++-- server/src/models/organization.model.ts | 2 +- 5 files changed, 72 insertions(+), 15 deletions(-) diff --git a/client/src/AddOrganization/AddOrganization.tsx b/client/src/AddOrganization/AddOrganization.tsx index 7f78310c..d5b40819 100644 --- a/client/src/AddOrganization/AddOrganization.tsx +++ b/client/src/AddOrganization/AddOrganization.tsx @@ -201,6 +201,19 @@ export default function AddOrganization() { /> + + setNewOrg({ ...newOrg, status: e.target.value })} + fullWidth + > + Member + Model Member + + +