iptdevs-design-system 3.1.657 → 3.1.658
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/logic/cod-self-managed-controls.mjs +8 -17
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component.mjs +15 -5
- package/fesm2015/iptdevs-design-system.mjs +20 -20
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +20 -20
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -6593,22 +6593,13 @@ class CodSelfManagedControls {
|
|
|
6593
6593
|
{ name: 'total_price', required: true, description: 'Precio total de la matricula' },
|
|
6594
6594
|
{ name: 'paid_level', required: true, description: 'Niveles pagos' },
|
|
6595
6595
|
],
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
// { name: 'multiculturalism_2', required: false, description: 'Multiculturalismo' },
|
|
6604
|
-
// { name: 'multiculturalism_3', required: false, description: 'Multiculturalismo' },
|
|
6605
|
-
// { name: 'multiculturalism_4', required: false, description: 'Multiculturalismo' },
|
|
6606
|
-
// { name: 'multiculturalism_5', required: false, description: 'Multiculturalismo' },
|
|
6607
|
-
// { name: 'multiculturalism_6', required: false, description: 'Multiculturalismo' },
|
|
6608
|
-
// { name: 'health_regimen', required: true, description: 'Régimen de salud' },
|
|
6609
|
-
// { name: 'code_refers', required: true, description: 'Refiere' },
|
|
6610
|
-
// { name: 'code_cod', required: false, description: 'Codigo Cod' }
|
|
6611
|
-
// ],
|
|
6596
|
+
[
|
|
6597
|
+
{ name: 'optionsPayments', required: true, description: 'Tipo de pago' },
|
|
6598
|
+
{ name: 'invoicing_name', required: true, description: 'Nombre de facturacion' },
|
|
6599
|
+
{ name: 'invoicing_Apellido', required: true, description: 'Apellido de facturacion' },
|
|
6600
|
+
{ name: 'invoicing_idType', required: true, description: 'Tipo de documento de facturacion' },
|
|
6601
|
+
{ name: 'invoicing_document', required: true, description: 'documento de facturacion' },
|
|
6602
|
+
],
|
|
6612
6603
|
];
|
|
6613
6604
|
this.$controls = new BehaviorSubject([]);
|
|
6614
6605
|
this.$controls.next(this.controls);
|
|
@@ -7458,28 +7449,30 @@ class CodSelfFormStepFourComponent extends CodSelfManagedSteps {
|
|
|
7458
7449
|
this.messageService = messageService;
|
|
7459
7450
|
this.parameterService = parameterService;
|
|
7460
7451
|
this.completed = new EventEmitter();
|
|
7452
|
+
this.controls = new CodSelfManagedControls().controls[0];
|
|
7461
7453
|
this.messageInfo = "Datos de facturacion de acuerdo a tu eleccion";
|
|
7462
7454
|
this.visible = false;
|
|
7463
7455
|
this.messageAlertPlacementTest = false;
|
|
7456
|
+
this.disableweekdays = [];
|
|
7457
|
+
this.isSelectionOptionPayments = true;
|
|
7458
|
+
this.isEditBillingData = true;
|
|
7464
7459
|
this.OptionPayments = [
|
|
7465
7460
|
{ code: 1, key: 'in', name: 'Instalaciones' },
|
|
7466
7461
|
{ code: 3, key: 'tr', name: 'Transferencia' },
|
|
7467
7462
|
];
|
|
7468
|
-
this.disableweekdays = [];
|
|
7469
|
-
this.isSelectionOptionPayments = true;
|
|
7470
|
-
this.isEditBillingData = true;
|
|
7471
7463
|
this.initForm();
|
|
7472
7464
|
}
|
|
7473
7465
|
ngOnInit() {
|
|
7474
7466
|
this.getParamenters();
|
|
7467
|
+
this.startLocalStorageWork();
|
|
7475
7468
|
}
|
|
7476
7469
|
initForm() {
|
|
7477
7470
|
this.codSelfFormStepFour = this.fb.group({
|
|
7478
7471
|
optionsPayments: ['', [Validators.required]],
|
|
7479
7472
|
invoicing_name: ['', [Validators.required]],
|
|
7480
7473
|
invoicing_Apellido: ['', [Validators.required]],
|
|
7481
|
-
invoicing_document: ['', [Validators.required]],
|
|
7482
7474
|
invoicing_idType: ['', [Validators.required]],
|
|
7475
|
+
invoicing_document: ['', [Validators.required]],
|
|
7483
7476
|
});
|
|
7484
7477
|
}
|
|
7485
7478
|
back() {
|
|
@@ -7510,6 +7503,13 @@ class CodSelfFormStepFourComponent extends CodSelfManagedSteps {
|
|
|
7510
7503
|
this.sendForm();
|
|
7511
7504
|
}
|
|
7512
7505
|
}
|
|
7506
|
+
startLocalStorageWork() {
|
|
7507
|
+
this.controls.forEach(control => {
|
|
7508
|
+
let localStorageValue = this.readAndWriteLS(4, control.name);
|
|
7509
|
+
this.codSelfFormStepFour.controls[control.name].setValue(localStorageValue.value);
|
|
7510
|
+
this.listenFormChanges(4, control.name, this.codSelfFormStepFour.controls[control.name].valueChanges);
|
|
7511
|
+
});
|
|
7512
|
+
}
|
|
7513
7513
|
editBillingData() {
|
|
7514
7514
|
// Activar la edición de datos de facturación
|
|
7515
7515
|
this.isEditBillingData = false;
|