@eeplatform/nuxt-layer-common 1.7.57 → 1.7.59
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 +12 -0
- package/components/EnrollmentForm.vue +7 -3
- package/components/EnrollmentPreview.vue +11 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @eeplatform/nuxt-layer-common
|
|
2
2
|
|
|
3
|
+
## 1.7.59
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1945a27: Fix enrollment form - missing region and division name
|
|
8
|
+
|
|
9
|
+
## 1.7.58
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 4250523: Fix enrollment form - set minimum age to 4 yrs old
|
|
14
|
+
|
|
3
15
|
## 1.7.57
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1503,9 +1503,7 @@ const birthdateRules = [
|
|
|
1503
1503
|
age--;
|
|
1504
1504
|
}
|
|
1505
1505
|
if (enrollment.value.gradeLevel === "non-graded") return true;
|
|
1506
|
-
return
|
|
1507
|
-
age >= 5 || "Learner must be at least 5 years old (Kindergarten age)"
|
|
1508
|
-
);
|
|
1506
|
+
return age >= 4 || "Learner must be at least 4 years old";
|
|
1509
1507
|
},
|
|
1510
1508
|
(v: any) => {
|
|
1511
1509
|
if (!v) return true;
|
|
@@ -1545,7 +1543,9 @@ if (prop.school && !prop.selfService) {
|
|
|
1545
1543
|
if (school) {
|
|
1546
1544
|
enrollment.value.school = school._id;
|
|
1547
1545
|
enrollment.value.region = school.region;
|
|
1546
|
+
enrollment.value.regionName = school.regionName;
|
|
1548
1547
|
enrollment.value.division = school.division;
|
|
1548
|
+
enrollment.value.divisionName = school.divisionName;
|
|
1549
1549
|
enrollment.value.province = school.province;
|
|
1550
1550
|
enrollment.value.cityMunicipality = school.cityMunicipality;
|
|
1551
1551
|
enrollment.value.schoolName = school.name;
|
|
@@ -2250,6 +2250,10 @@ watchEffect(() => {
|
|
|
2250
2250
|
const selectedSchool = computed(() => enrollment.value.schoolId);
|
|
2251
2251
|
|
|
2252
2252
|
watch(selectedSchool, (val) => {
|
|
2253
|
+
if (prop.selfService) {
|
|
2254
|
+
return;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2253
2257
|
enrollment.value.gradeLevel = "";
|
|
2254
2258
|
|
|
2255
2259
|
// Clear region, province, and cityMunicipality when schoolId is removed by user (not programmatically)
|
|
@@ -478,18 +478,17 @@
|
|
|
478
478
|
<v-card-title class="text-h6 font-weight-bold pa-0 mb-3">
|
|
479
479
|
Preferred Learning Modalities
|
|
480
480
|
</v-card-title>
|
|
481
|
-
<v-chip
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
</v-chip-group>
|
|
481
|
+
<v-chip
|
|
482
|
+
v-for="option in localProps.application
|
|
483
|
+
.alternativeLearningOptions"
|
|
484
|
+
:key="option"
|
|
485
|
+
size="small"
|
|
486
|
+
variant="outlined"
|
|
487
|
+
color="primary"
|
|
488
|
+
class="ma-1"
|
|
489
|
+
>
|
|
490
|
+
{{ option }}
|
|
491
|
+
</v-chip>
|
|
493
492
|
</v-card>
|
|
494
493
|
</v-col>
|
|
495
494
|
|