Skip to content

Commit

Permalink
Fixed GRAD status update failure
Browse files Browse the repository at this point in the history
  • Loading branch information
suzalflueck committed Dec 13, 2024
1 parent 7f24e54 commit 7829f8c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"
>
{{
studentGradStatus.schoolName
? studentGradStatus.schoolName
studentGradStatus.schoolOfRecordName
? studentGradStatus.schoolOfRecordName
: schoolOfRecord.displayName
}}<br />
{{ studentGradStatus.schoolOfRecord }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,12 @@
}}
</div>
<v-autocomplete
v-model="editedGradStatus.schoolOfRecord"
v-model="editedGradStatus.schoolOfRecordId"
:disabled="disableSchoolOfRecord"
label="Select a school"
:items="getSchoolsList"
:item-title="schoolTitle"
item-value="mincode"
item-value="schoolId"
variant="outlined"
density="compact"
class="mt-4"
Expand Down Expand Up @@ -352,13 +352,12 @@
.$message
}}
</div>
<!-- :disabled="disableSchoolAtGrad" -->
<v-autocomplete
v-model="editedGradStatus.schoolAtGrad"
v-model="editedGradStatus.schoolAtGradId"
label="Select a school"
:items="getSchoolsList"
:item-title="schoolTitle"
item-value="mincode"
item-value="schoolId"
variant="outlined"
class="mt-4"
density="compact"
Expand Down Expand Up @@ -918,10 +917,15 @@ export default {
this.editedGradStatus.pen = this.studentGradStatus.pen;
this.editedGradStatus.program = this.studentGradStatus.program;
this.editedGradStatus.studentGrade = this.studentGradStatus.studentGrade;
this.editedGradStatus.schoolName = this.studentGradStatus.schoolName;
this.editedGradStatus.schoolOfRecordName =
this.studentGradStatus.schoolOfRecordName;
this.editedGradStatus.schoolOfRecord =
this.studentGradStatus.schoolOfRecord;
this.editedGradStatus.schoolOfRecordId =
this.studentGradStatus.schoolOfRecordId;
this.editedGradStatus.schoolAtGrad = this.studentGradStatus.schoolAtGrad;
this.editedGradStatus.schoolAtGradId =
this.studentGradStatus.schoolAtGradId;
this.editedGradStatus.schoolAtGradName =
this.studentGradStatus.schoolAtGradName;
this.editedGradStatus.studentStatus =
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/store/modules/student.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ export const useStudentStore = defineStore("student", {
pen: "",
program: "",
studentGrade: "",
schoolName: "",
schoolOfRecordName: "",
schoolOfRecord: "",
schoolOfRecordId: "",
schoolAtGrad: "",
schoolAtGradId: "",
schoolAtGradName: "",
studentStatus: "",
studentID: "",
Expand Down

0 comments on commit 7829f8c

Please sign in to comment.