iptdevs-design-system 2.7.123 → 2.7.125
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/cod-form/cod-form.component.mjs +4 -4
- package/fesm2015/iptdevs-design-system.mjs +3 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +3 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/cod-form/cod-form.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3978,7 +3978,7 @@ class CodFormComponent {
|
|
|
3978
3978
|
description: control.description
|
|
3979
3979
|
});
|
|
3980
3980
|
}
|
|
3981
|
-
else if (value === '
|
|
3981
|
+
else if (value === 'true' && control.description === 'Multiculturalismo') {
|
|
3982
3982
|
totalData.push({
|
|
3983
3983
|
control: control.name,
|
|
3984
3984
|
isRequired: control.required,
|
|
@@ -4022,7 +4022,7 @@ class CodFormComponent {
|
|
|
4022
4022
|
console.log(totalData);
|
|
4023
4023
|
this.isLoading = true;
|
|
4024
4024
|
this.loaderMessage = 'Creando COD, espere un momento';
|
|
4025
|
-
let request = this.
|
|
4025
|
+
let request = this.getCreateCOD(totalData);
|
|
4026
4026
|
console.log(request);
|
|
4027
4027
|
this.commercialService.createCOD(request).subscribe({
|
|
4028
4028
|
next: (response) => {
|
|
@@ -4053,7 +4053,7 @@ class CodFormComponent {
|
|
|
4053
4053
|
cleanStorage() {
|
|
4054
4054
|
sessionStorage.clear();
|
|
4055
4055
|
}
|
|
4056
|
-
|
|
4056
|
+
getCreateCOD(data) {
|
|
4057
4057
|
let request = {
|
|
4058
4058
|
token: this.baseService.getUserToken(),
|
|
4059
4059
|
student_name: data.filter(data => data.control === 'student_name')[0].value,
|