iptdevs-design-system 2.7.107 → 2.7.108
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/steps/cod-form-step-five/cod-form-step-five.component.mjs +27 -27
- package/esm2020/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +5 -1
- package/esm2020/lib/cod/steps/cod-form-step-three/cod-form-step-three.component.mjs +2 -3
- package/fesm2015/iptdevs-design-system.mjs +31 -28
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +31 -28
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/steps/cod-form-step-five/cod-form-step-five.component.d.ts +3 -3
- package/package.json +1 -1
|
@@ -3385,8 +3385,7 @@ class CodFormStepThreeComponent extends CodFormSteps {
|
|
|
3385
3385
|
}
|
|
3386
3386
|
// Eventos de los select
|
|
3387
3387
|
selectNeedAtendant(needAtendant) {
|
|
3388
|
-
|
|
3389
|
-
if (needAtendant !== 'Requiere acudiente') {
|
|
3388
|
+
if (needAtendant == 1) {
|
|
3390
3389
|
this.codFormStepThree.controls['needAtendant'].setValue(needAtendant);
|
|
3391
3390
|
}
|
|
3392
3391
|
else {
|
|
@@ -3559,6 +3558,7 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3559
3558
|
if (response.data) {
|
|
3560
3559
|
const codPrices = response.data;
|
|
3561
3560
|
this.codPrices = codPrices;
|
|
3561
|
+
console.log(this.codPrices);
|
|
3562
3562
|
if (this.codFormStepFour.controls['payment_method'].value === '2') {
|
|
3563
3563
|
const aux = this.codPrices.filter(codPrice => codPrice.agreement === Number(agreementSelected))[0];
|
|
3564
3564
|
this.codFormStepFour.controls['program_price'].setValue(aux.normal_price);
|
|
@@ -3702,6 +3702,9 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
3702
3702
|
console.log(quotas);
|
|
3703
3703
|
if (quotas !== 'Número de cuotas') {
|
|
3704
3704
|
const codPrice = this.codPrices.filter(codPrice => codPrice.code === Number(quotas));
|
|
3705
|
+
console.log(codPrice[0].code);
|
|
3706
|
+
console.log(codPrice[0].enrollment);
|
|
3707
|
+
console.log(codPrice[0].financed_price);
|
|
3705
3708
|
this.codFormStepFour.controls['quota_times'].setValue(codPrice[0].code);
|
|
3706
3709
|
this.codFormStepFour.controls['total_price'].setValue(codPrice[0].enrollment);
|
|
3707
3710
|
this.codFormStepFour.controls['program_price'].setValue(codPrice[0].financed_price);
|
|
@@ -3736,46 +3739,45 @@ class CodFormStepFiveComponent extends CodFormSteps {
|
|
|
3736
3739
|
// Controls del formulario
|
|
3737
3740
|
this.controls = new CodFormControls().controls[4];
|
|
3738
3741
|
}
|
|
3739
|
-
ngOnInit() {
|
|
3740
|
-
console.log(this.initialData);
|
|
3741
|
-
this.initForm();
|
|
3742
|
-
this.getParameters();
|
|
3743
|
-
this.startLocalStorageWork();
|
|
3744
|
-
this.codFormStepFive.controls['terms'].valueChanges.subscribe(changes => {
|
|
3745
|
-
this.termsCheckboxStatus = changes;
|
|
3746
|
-
if (!this.termsCheckboxStatus)
|
|
3747
|
-
this.errorMessage = 'Debe marcar la casilla de términos y condiciones.';
|
|
3748
|
-
});
|
|
3749
|
-
if (this.userRole === 30 || this.userRole === 31 || this.userRole === 32)
|
|
3750
|
-
this.sendFormMsg = 'Editar COD'; // Roles Administrativos
|
|
3751
|
-
if (this.userRole === 40 || this.userRole === 41 || this.userRole === 42)
|
|
3752
|
-
this.sendFormMsg = 'Crear COD'; // Roles comerciales
|
|
3753
|
-
if (this.initialData != null) {
|
|
3754
|
-
this.setDataFromPreviusCod();
|
|
3755
|
-
}
|
|
3756
|
-
else {
|
|
3757
|
-
console.log('No hay data cargada para el Paso 5');
|
|
3758
|
-
}
|
|
3759
|
-
}
|
|
3760
|
-
// ngOnChanges(changes: SimpleChanges): void {
|
|
3742
|
+
// ngOnInit(): void {
|
|
3761
3743
|
// console.log(this.initialData);
|
|
3762
3744
|
// this.initForm();
|
|
3763
|
-
// this.startLocalStorageWork();
|
|
3764
3745
|
// this.getParameters();
|
|
3746
|
+
// this.startLocalStorageWork();
|
|
3765
3747
|
// this.codFormStepFive.controls['terms'].valueChanges.subscribe(changes => {
|
|
3766
3748
|
// this.termsCheckboxStatus = changes;
|
|
3767
3749
|
// if (!this.termsCheckboxStatus) this.errorMessage = 'Debe marcar la casilla de términos y condiciones.'
|
|
3768
3750
|
// })
|
|
3769
3751
|
// if (this.userRole === 30 || this.userRole === 31 || this.userRole === 32) this.sendFormMsg = 'Editar COD'; // Roles Administrativos
|
|
3770
3752
|
// if (this.userRole === 40 || this.userRole === 41 || this.userRole === 42) this.sendFormMsg = 'Crear COD'; // Roles comerciales
|
|
3771
|
-
// if (changes['initialData']) {
|
|
3772
3753
|
// if (this.initialData != null) {
|
|
3773
3754
|
// this.setDataFromPreviusCod();
|
|
3774
3755
|
// } else {
|
|
3775
3756
|
// console.log('No hay data cargada para el Paso 5');
|
|
3776
3757
|
// }
|
|
3777
|
-
// }
|
|
3778
3758
|
// }
|
|
3759
|
+
ngOnChanges(changes) {
|
|
3760
|
+
this.initForm();
|
|
3761
|
+
this.startLocalStorageWork();
|
|
3762
|
+
this.getParameters();
|
|
3763
|
+
this.codFormStepFive.controls['terms'].valueChanges.subscribe(changes => {
|
|
3764
|
+
this.termsCheckboxStatus = changes;
|
|
3765
|
+
if (!this.termsCheckboxStatus)
|
|
3766
|
+
this.errorMessage = 'Debe marcar la casilla de términos y condiciones.';
|
|
3767
|
+
});
|
|
3768
|
+
if (this.userRole === 30 || this.userRole === 31 || this.userRole === 32)
|
|
3769
|
+
this.sendFormMsg = 'Editar COD'; // Roles Administrativos
|
|
3770
|
+
if (this.userRole === 40 || this.userRole === 41 || this.userRole === 42)
|
|
3771
|
+
this.sendFormMsg = 'Crear COD'; // Roles comerciales
|
|
3772
|
+
if (changes['initialData']) {
|
|
3773
|
+
if (this.initialData != null) {
|
|
3774
|
+
this.setDataFromPreviusCod();
|
|
3775
|
+
}
|
|
3776
|
+
else {
|
|
3777
|
+
console.log('No hay data cargada para el Paso 5');
|
|
3778
|
+
}
|
|
3779
|
+
}
|
|
3780
|
+
}
|
|
3779
3781
|
getParameters() {
|
|
3780
3782
|
this.parameterService.getMarketingReasons().subscribe((response) => {
|
|
3781
3783
|
this.marketingReasons = response.data;
|
|
@@ -3853,6 +3855,7 @@ class CodFormStepFiveComponent extends CodFormSteps {
|
|
|
3853
3855
|
}
|
|
3854
3856
|
cleanStorage() {
|
|
3855
3857
|
sessionStorage.clear();
|
|
3858
|
+
this.startLocalStorageWork();
|
|
3856
3859
|
}
|
|
3857
3860
|
// Eventos del select
|
|
3858
3861
|
selectMarketingReasons(marketingReasons) {
|
|
@@ -3880,7 +3883,7 @@ class CodFormStepFiveComponent extends CodFormSteps {
|
|
|
3880
3883
|
}
|
|
3881
3884
|
}
|
|
3882
3885
|
CodFormStepFiveComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodFormStepFiveComponent, deps: [{ token: i1$1.FormBuilder }, { token: ParameterService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3883
|
-
CodFormStepFiveComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodFormStepFiveComponent, selector: "app-cod-form-step-five", inputs: { userRole: "userRole", initialData: "initialData" }, outputs: { changeStepEvent: "changeStepEvent", action: "action" }, usesInheritance: true, ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"codFormStepFive\" class=\"grid\">\n <div class=\"col-12 md:col-6\">\n <ipt-select\n [control]=\"codFormStepFive.controls['marketing_reasons']\"\n [initialValue]=\"codFormStepFive.controls['marketing_reasons'].value\"\n (eventSelect)=\"selectMarketingReasons($event)\"\n [data]=\"marketingReasons\"\n [defaultText]=\"'\u00BFC\u00F3mo se enter\u00F3 del programa?'\"\n ></ipt-select>\n <ipt-input\n [inputType]=\"'text'\"\n [placeHolder]=\"'Discapacidad'\"\n [control]=\"codFormStepFive.controls['disability']\"\n ></ipt-input>\n </div>\n <div class=\"col-12 md:col-6\">\n <ipt-select\n [control]=\"codFormStepFive.controls['study_reasons']\"\n [initialValue]=\"codFormStepFive.controls['study_reasons'].value\"\n (eventSelect)=\"selectStudyReasons($event)\"\n [data]=\"studyReasons\"\n [defaultText]=\"'Motivo'\"\n ></ipt-select>\n <ipt-input\n [inputType]=\"'text'\"\n [placeHolder]=\"'R\u00E9gimen de salud'\"\n [control]=\"codFormStepFive.controls['health_regimen']\"\n ></ipt-input>\n </div>\n <div class=\"col-12 mt-4\">\n <span class=\"p-float-label\">\n <textarea\n id=\"float-input\"\n rows=\"4\"\n cols=\"30\"\n pInputTextarea\n formControlName=\"observation\"\n ></textarea>\n <label for=\"float-input\">Observaciones</label>\n </span>\n <div class=\"flex flex-wrap justify-content-between gap-2\">\n <div *ngFor=\"let option of multiculturalities; index as i\" class=\"field-checkbox mt-4 flex align-items-center\">\n <mat-checkbox [formControlName]=\"'multiculturalism' + '_' + (i+1)\" class=\"example-margin\"></mat-checkbox>\n <label [for]=\"option.code\">{{ option.name }}</label>\n </div>\n </div>\n </div>\n\n <div class=\"col-12 p-4 font-bold\">\n <p>\n * El estudiante o titular se comprometen a cancelar las cuotas establecidas en este contrato, los\n primeros 5 (cinco) d\u00EDas del mes. En caso de querer retirarse, deber\u00E1 informar por escrito 30\n (treinta) d\u00EDas antes y cancelar lo correspondiente hasta la fecha definida de retiro, para poder\n obtener su paz y salvo.\n </p>\n <br><br>\n <div class=\"flex gap-2\">\n <mat-checkbox formControlName=\"terms\" class=\"example-margin\"></mat-checkbox>\n <!-- <p-checkbox [formControl]=\"getCheckboxControl()\"></p-checkbox> -->\n <!-- <ipt-checkbox [control]=\"codFormStepFive.controls['terms']\" [checkboxOption]=\"termsCheckboxStatus\"></ipt-checkbox> -->\n <p>\n DECLARO HABER LE\u00CDDO Y ACEPTO LOS T\u00C9RMINOS Y CONDICIONES DE LAS POL\u00CDTICAS ESTABLECIDAS EN LA\n INSTITUCI\u00D3N.\n </p>\n </div>\n </div>\n</form>\n\n<div class=\"flex mt-3 align-items-center gap-3\">\n <span *ngIf=\"(codFormStepFive.invalid && codFormStepFive.touched) || (!termsCheckboxStatus && codFormStepFive.touched)\" class=\"text-red-500 font-bold text-center mt-1 py-2 bg-red-100 w-full border-round-xl\">{{ errorMessage }}</span>\n <button type=\"submit\" class=\"ml-auto p-button-success p-button-sm\" (click)=\"sendForm()\" pButton [label]=\"sendFormMsg\" icon=\"pi pi-check\"></button>\n <button class=\"ml-auto p-button-danger p-button-sm\" (click)=\"cleanStorage()\" pButton label=\"Clean Storage\" icon=\"pi pi-check\"></button>\n</div>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: InputComponent, selector: "ipt-input", inputs: ["inputType", "placeHolder", "validateText", "withPipe", "list", "iconUrl", "control", "prefix", "thousands", "decimal"], outputs: ["dateSelected"] }, { kind: "component", type: SelectComponent, selector: "ipt-select", inputs: ["isRequired", "data", "defaultText", "selectCode", "disabledSel", "initialValue", "control"], outputs: ["eventSelect"] }, { kind: "component", type: i6$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i6$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i8$1.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize"], outputs: ["onResize"] }] });
|
|
3886
|
+
CodFormStepFiveComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodFormStepFiveComponent, selector: "app-cod-form-step-five", inputs: { userRole: "userRole", initialData: "initialData" }, outputs: { changeStepEvent: "changeStepEvent", action: "action" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<form autocomplete=\"off\" [formGroup]=\"codFormStepFive\" class=\"grid\">\n <div class=\"col-12 md:col-6\">\n <ipt-select\n [control]=\"codFormStepFive.controls['marketing_reasons']\"\n [initialValue]=\"codFormStepFive.controls['marketing_reasons'].value\"\n (eventSelect)=\"selectMarketingReasons($event)\"\n [data]=\"marketingReasons\"\n [defaultText]=\"'\u00BFC\u00F3mo se enter\u00F3 del programa?'\"\n ></ipt-select>\n <ipt-input\n [inputType]=\"'text'\"\n [placeHolder]=\"'Discapacidad'\"\n [control]=\"codFormStepFive.controls['disability']\"\n ></ipt-input>\n </div>\n <div class=\"col-12 md:col-6\">\n <ipt-select\n [control]=\"codFormStepFive.controls['study_reasons']\"\n [initialValue]=\"codFormStepFive.controls['study_reasons'].value\"\n (eventSelect)=\"selectStudyReasons($event)\"\n [data]=\"studyReasons\"\n [defaultText]=\"'Motivo'\"\n ></ipt-select>\n <ipt-input\n [inputType]=\"'text'\"\n [placeHolder]=\"'R\u00E9gimen de salud'\"\n [control]=\"codFormStepFive.controls['health_regimen']\"\n ></ipt-input>\n </div>\n <div class=\"col-12 mt-4\">\n <span class=\"p-float-label\">\n <textarea\n id=\"float-input\"\n rows=\"4\"\n cols=\"30\"\n pInputTextarea\n formControlName=\"observation\"\n ></textarea>\n <label for=\"float-input\">Observaciones</label>\n </span>\n <div class=\"flex flex-wrap justify-content-between gap-2\">\n <div *ngFor=\"let option of multiculturalities; index as i\" class=\"field-checkbox mt-4 flex align-items-center\">\n <mat-checkbox [formControlName]=\"'multiculturalism' + '_' + (i+1)\" class=\"example-margin\"></mat-checkbox>\n <label [for]=\"option.code\">{{ option.name }}</label>\n </div>\n </div>\n </div>\n\n <div class=\"col-12 p-4 font-bold\">\n <p>\n * El estudiante o titular se comprometen a cancelar las cuotas establecidas en este contrato, los\n primeros 5 (cinco) d\u00EDas del mes. En caso de querer retirarse, deber\u00E1 informar por escrito 30\n (treinta) d\u00EDas antes y cancelar lo correspondiente hasta la fecha definida de retiro, para poder\n obtener su paz y salvo.\n </p>\n <br><br>\n <div class=\"flex gap-2\">\n <mat-checkbox formControlName=\"terms\" class=\"example-margin\"></mat-checkbox>\n <!-- <p-checkbox [formControl]=\"getCheckboxControl()\"></p-checkbox> -->\n <!-- <ipt-checkbox [control]=\"codFormStepFive.controls['terms']\" [checkboxOption]=\"termsCheckboxStatus\"></ipt-checkbox> -->\n <p>\n DECLARO HABER LE\u00CDDO Y ACEPTO LOS T\u00C9RMINOS Y CONDICIONES DE LAS POL\u00CDTICAS ESTABLECIDAS EN LA\n INSTITUCI\u00D3N.\n </p>\n </div>\n </div>\n</form>\n\n<div class=\"flex mt-3 align-items-center gap-3\">\n <span *ngIf=\"(codFormStepFive.invalid && codFormStepFive.touched) || (!termsCheckboxStatus && codFormStepFive.touched)\" class=\"text-red-500 font-bold text-center mt-1 py-2 bg-red-100 w-full border-round-xl\">{{ errorMessage }}</span>\n <button type=\"submit\" class=\"ml-auto p-button-success p-button-sm\" (click)=\"sendForm()\" pButton [label]=\"sendFormMsg\" icon=\"pi pi-check\"></button>\n <button class=\"ml-auto p-button-danger p-button-sm\" (click)=\"cleanStorage()\" pButton label=\"Clean Storage\" icon=\"pi pi-check\"></button>\n</div>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: InputComponent, selector: "ipt-input", inputs: ["inputType", "placeHolder", "validateText", "withPipe", "list", "iconUrl", "control", "prefix", "thousands", "decimal"], outputs: ["dateSelected"] }, { kind: "component", type: SelectComponent, selector: "ipt-select", inputs: ["isRequired", "data", "defaultText", "selectCode", "disabledSel", "initialValue", "control"], outputs: ["eventSelect"] }, { kind: "component", type: i6$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i6$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i8$1.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize"], outputs: ["onResize"] }] });
|
|
3884
3887
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodFormStepFiveComponent, decorators: [{
|
|
3885
3888
|
type: Component,
|
|
3886
3889
|
args: [{ selector: 'app-cod-form-step-five', template: "<form autocomplete=\"off\" [formGroup]=\"codFormStepFive\" class=\"grid\">\n <div class=\"col-12 md:col-6\">\n <ipt-select\n [control]=\"codFormStepFive.controls['marketing_reasons']\"\n [initialValue]=\"codFormStepFive.controls['marketing_reasons'].value\"\n (eventSelect)=\"selectMarketingReasons($event)\"\n [data]=\"marketingReasons\"\n [defaultText]=\"'\u00BFC\u00F3mo se enter\u00F3 del programa?'\"\n ></ipt-select>\n <ipt-input\n [inputType]=\"'text'\"\n [placeHolder]=\"'Discapacidad'\"\n [control]=\"codFormStepFive.controls['disability']\"\n ></ipt-input>\n </div>\n <div class=\"col-12 md:col-6\">\n <ipt-select\n [control]=\"codFormStepFive.controls['study_reasons']\"\n [initialValue]=\"codFormStepFive.controls['study_reasons'].value\"\n (eventSelect)=\"selectStudyReasons($event)\"\n [data]=\"studyReasons\"\n [defaultText]=\"'Motivo'\"\n ></ipt-select>\n <ipt-input\n [inputType]=\"'text'\"\n [placeHolder]=\"'R\u00E9gimen de salud'\"\n [control]=\"codFormStepFive.controls['health_regimen']\"\n ></ipt-input>\n </div>\n <div class=\"col-12 mt-4\">\n <span class=\"p-float-label\">\n <textarea\n id=\"float-input\"\n rows=\"4\"\n cols=\"30\"\n pInputTextarea\n formControlName=\"observation\"\n ></textarea>\n <label for=\"float-input\">Observaciones</label>\n </span>\n <div class=\"flex flex-wrap justify-content-between gap-2\">\n <div *ngFor=\"let option of multiculturalities; index as i\" class=\"field-checkbox mt-4 flex align-items-center\">\n <mat-checkbox [formControlName]=\"'multiculturalism' + '_' + (i+1)\" class=\"example-margin\"></mat-checkbox>\n <label [for]=\"option.code\">{{ option.name }}</label>\n </div>\n </div>\n </div>\n\n <div class=\"col-12 p-4 font-bold\">\n <p>\n * El estudiante o titular se comprometen a cancelar las cuotas establecidas en este contrato, los\n primeros 5 (cinco) d\u00EDas del mes. En caso de querer retirarse, deber\u00E1 informar por escrito 30\n (treinta) d\u00EDas antes y cancelar lo correspondiente hasta la fecha definida de retiro, para poder\n obtener su paz y salvo.\n </p>\n <br><br>\n <div class=\"flex gap-2\">\n <mat-checkbox formControlName=\"terms\" class=\"example-margin\"></mat-checkbox>\n <!-- <p-checkbox [formControl]=\"getCheckboxControl()\"></p-checkbox> -->\n <!-- <ipt-checkbox [control]=\"codFormStepFive.controls['terms']\" [checkboxOption]=\"termsCheckboxStatus\"></ipt-checkbox> -->\n <p>\n DECLARO HABER LE\u00CDDO Y ACEPTO LOS T\u00C9RMINOS Y CONDICIONES DE LAS POL\u00CDTICAS ESTABLECIDAS EN LA\n INSTITUCI\u00D3N.\n </p>\n </div>\n </div>\n</form>\n\n<div class=\"flex mt-3 align-items-center gap-3\">\n <span *ngIf=\"(codFormStepFive.invalid && codFormStepFive.touched) || (!termsCheckboxStatus && codFormStepFive.touched)\" class=\"text-red-500 font-bold text-center mt-1 py-2 bg-red-100 w-full border-round-xl\">{{ errorMessage }}</span>\n <button type=\"submit\" class=\"ml-auto p-button-success p-button-sm\" (click)=\"sendForm()\" pButton [label]=\"sendFormMsg\" icon=\"pi pi-check\"></button>\n <button class=\"ml-auto p-button-danger p-button-sm\" (click)=\"cleanStorage()\" pButton label=\"Clean Storage\" icon=\"pi pi-check\"></button>\n</div>\n\n" }]
|