iptdevs-design-system 3.1.677 → 3.1.678
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-four/cod-self-form-step-four.component.mjs +18 -14
- package/fesm2015/iptdevs-design-system.mjs +17 -13
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +17 -13
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7482,7 +7482,7 @@ class CodSelfFormStepFourComponent extends CodSelfManagedSteps {
|
|
|
7482
7482
|
this.isEditBillingData = true;
|
|
7483
7483
|
this.OptionPayments = [
|
|
7484
7484
|
{ code: 1, key: 'in', name: 'Instalaciones' },
|
|
7485
|
-
{ code:
|
|
7485
|
+
{ code: 2, key: 'tr', name: 'Transferencia' },
|
|
7486
7486
|
];
|
|
7487
7487
|
this.initForm();
|
|
7488
7488
|
}
|
|
@@ -7502,18 +7502,22 @@ class CodSelfFormStepFourComponent extends CodSelfManagedSteps {
|
|
|
7502
7502
|
});
|
|
7503
7503
|
}
|
|
7504
7504
|
getDataUser() {
|
|
7505
|
-
const
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7505
|
+
const typeIdCard = this.localStorageCOD.getCodFormData(1, 'student_id_card_type');
|
|
7506
|
+
console.log(typeIdCard);
|
|
7507
|
+
if (typeIdCard != null && typeIdCard != "2") {
|
|
7508
|
+
const nameStudent = this.localStorageCOD.getCodFormData(1, 'student_name');
|
|
7509
|
+
const lastNameStudent = this.localStorageCOD.getCodFormData(1, 'student_last_name');
|
|
7510
|
+
const typeIdCardStudent = this.localStorageCOD.getCodFormData(1, 'student_id_card_type');
|
|
7511
|
+
const idCardStudent = this.localStorageCOD.getCodFormData(1, 'student_id_card');
|
|
7512
|
+
console.log('nameStudent', nameStudent);
|
|
7513
|
+
console.log('lastNameStudent', lastNameStudent);
|
|
7514
|
+
console.log('typeIdCardStudent', typeIdCardStudent);
|
|
7515
|
+
console.log('idCardStudent', idCardStudent);
|
|
7516
|
+
this.codSelfFormStepFour.controls['invoicing_name'].setValue(nameStudent);
|
|
7517
|
+
this.codSelfFormStepFour.controls['invoicing_Apellido'].setValue(lastNameStudent);
|
|
7518
|
+
this.codSelfFormStepFour.controls['invoicing_idType'].setValue(typeIdCardStudent);
|
|
7519
|
+
this.codSelfFormStepFour.controls['invoicing_document'].setValue(idCardStudent);
|
|
7520
|
+
}
|
|
7517
7521
|
}
|
|
7518
7522
|
back() {
|
|
7519
7523
|
if (!this.isSelectionOptionPayments && !this.isEditBillingData) {
|