iptdevs-design-system 3.1.482 → 3.1.483
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/esm2020/lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component.mjs +7 -4
- package/fesm2015/iptdevs-design-system.mjs +7 -4
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +6 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6546,9 +6546,9 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
|
|
|
6546
6546
|
this.cdRef = cdRef;
|
|
6547
6547
|
this.completed = new EventEmitter();
|
|
6548
6548
|
this.controls = new CodSelfManagedControls().controls[1];
|
|
6549
|
+
this.initForm();
|
|
6549
6550
|
}
|
|
6550
6551
|
ngOnInit() {
|
|
6551
|
-
this.initForm();
|
|
6552
6552
|
this.startLocalStorageWork();
|
|
6553
6553
|
}
|
|
6554
6554
|
ngOnChanges() {
|
|
@@ -6561,6 +6561,7 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
|
|
|
6561
6561
|
initForm() {
|
|
6562
6562
|
this.codSelfFormStepTwo = this.fb.group({
|
|
6563
6563
|
schedule: ['', [Validators.required]],
|
|
6564
|
+
to_start: ['', [Validators.required]],
|
|
6564
6565
|
// academic_plan: ['', [Validators.required]],
|
|
6565
6566
|
// course_type:['', [Validators.required]],
|
|
6566
6567
|
// agreement_by_category: ['', [Validators.required],],
|
|
@@ -6588,11 +6589,13 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
|
|
|
6588
6589
|
}
|
|
6589
6590
|
searchAvalaibleCourse() {
|
|
6590
6591
|
const age = localStorage.getItem('COD SELF - step1(age)');
|
|
6591
|
-
console.log(age);
|
|
6592
|
+
// console.log(age);
|
|
6592
6593
|
const request = {
|
|
6593
6594
|
age: age,
|
|
6594
|
-
schedule: this.codSelfFormStepTwo.get('schedule')?.value
|
|
6595
|
+
schedule: this.codSelfFormStepTwo.get('schedule')?.value,
|
|
6596
|
+
possible_start: this.codSelfFormStepTwo.get('to_start')?.value
|
|
6595
6597
|
};
|
|
6598
|
+
console.log(request);
|
|
6596
6599
|
}
|
|
6597
6600
|
validateDate(dateRecib) {
|
|
6598
6601
|
const dateRecibTreanf = dateRecib + 'T00:00:00-05:00';
|