sigesp 1.1.51-20250612 → 1.1.55-20250722
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/core/interfaces/Nomina.mjs +1 -1
- package/esm2020/lib/core/interfaces/Presupuesto.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +17 -1
- package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +8 -1
- package/fesm2015/sigesp.mjs +23 -0
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +23 -0
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +6 -0
- package/lib/core/interfaces/Presupuesto.d.ts +4 -0
- package/lib/core/models/SNO/MConceptosNomina.model.d.ts +6 -0
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +3 -0
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -3827,6 +3827,9 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3827
3827
|
this.id = 0;
|
|
3828
3828
|
this.denominacionUnidadCentral = '';
|
|
3829
3829
|
this.codigoUnidadCentral = '';
|
|
3830
|
+
this.idPersonal = 0;
|
|
3831
|
+
this.cedula = '';
|
|
3832
|
+
this.nombre = '';
|
|
3830
3833
|
this.estructuras = [];
|
|
3831
3834
|
this.centroCosto = [];
|
|
3832
3835
|
if (unidad) {
|
|
@@ -3840,6 +3843,9 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3840
3843
|
this.emiteRequisicion = unidad.estemireq == '1' ? true : false;
|
|
3841
3844
|
this.denominacionUnidadCentral = unidad.denuac;
|
|
3842
3845
|
this.codigoUnidadCentral = unidad.codigouac;
|
|
3846
|
+
this.idPersonal = +unidad.id_personal;
|
|
3847
|
+
this.cedula = unidad.cedper;
|
|
3848
|
+
this.nombre = unidad.nomper + ' ' + unidad.apeper;
|
|
3843
3849
|
if (unidad.estructuras) {
|
|
3844
3850
|
this.estructuras = unidad.estructuras.map(e => new MEstructuras(e));
|
|
3845
3851
|
}
|
|
@@ -3861,6 +3867,7 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3861
3867
|
denuniadm: this.denominacion,
|
|
3862
3868
|
estemireq: this.emiteRequisicion ? '1' : '0',
|
|
3863
3869
|
id_uniadm: this.id.toString(),
|
|
3870
|
+
id_personal: this.idPersonal.toString(),
|
|
3864
3871
|
estructuras: this.estructuras.map(function (e) { return e.dataInterface(); }),
|
|
3865
3872
|
centros: this.centroCosto.map(function (e) { return e.dataInterface(); }),
|
|
3866
3873
|
};
|
|
@@ -10383,6 +10390,12 @@ class MConceptosNomina extends MBasicModel {
|
|
|
10383
10390
|
this.contabilizacionAporteNomina = 'CCP';
|
|
10384
10391
|
this.idTipoDocumentoAporte = 0;
|
|
10385
10392
|
this.denominacionTipoDocumentoAporte = '';
|
|
10393
|
+
this.idConceptoClasificacionParaDeduccion = 0;
|
|
10394
|
+
this.idTipoDocumentoDeduccion = 0;
|
|
10395
|
+
this.denominacionConceptoClasificacionParaDeduccion = '';
|
|
10396
|
+
this.denominacionTipoDocumentoDeduccion = '';
|
|
10397
|
+
this.contabilizacionDeduccionNomina = 'CCP';
|
|
10398
|
+
this.agruparAporteRetencion = false;
|
|
10386
10399
|
if (e) {
|
|
10387
10400
|
this.idEnterprise = +e.id_enterprise;
|
|
10388
10401
|
this.idEmpresa = +e.id_empresa;
|
|
@@ -10457,6 +10470,12 @@ class MConceptosNomina extends MBasicModel {
|
|
|
10457
10470
|
this.idTipoDocumentoAporte = parseInt(e.id_tipodocumento);
|
|
10458
10471
|
this.denominacionTipoDocumentoAporte = e.dentipden;
|
|
10459
10472
|
this.denominacionConceptoClasificacionParaAporte = e.denconcxp;
|
|
10473
|
+
this.idConceptoClasificacionParaDeduccion = +e.id_concxpded;
|
|
10474
|
+
this.idTipoDocumentoDeduccion = +e.id_tipodocumento_ded;
|
|
10475
|
+
this.denominacionConceptoClasificacionParaDeduccion = e.denconcxpded;
|
|
10476
|
+
this.denominacionTipoDocumentoDeduccion = e.dentipded;
|
|
10477
|
+
this.contabilizacionDeduccionNomina = e.condednom;
|
|
10478
|
+
e.agraporet == '1' ? this.agruparAporteRetencion = true : this.agruparAporteRetencion = false;
|
|
10460
10479
|
}
|
|
10461
10480
|
else {
|
|
10462
10481
|
this.isNew = true;
|
|
@@ -10524,6 +10543,10 @@ class MConceptosNomina extends MBasicModel {
|
|
|
10524
10543
|
id_concxpapo: this.idConceptoClasificacionParaAporte.toString(),
|
|
10525
10544
|
id_tipodocumento: this.idTipoDocumentoAporte.toString(),
|
|
10526
10545
|
conaponom: this.contabilizacionAporteNomina,
|
|
10546
|
+
id_concxpded: this.idConceptoClasificacionParaDeduccion.toString(),
|
|
10547
|
+
id_tipodocumento_ded: this.idTipoDocumentoDeduccion.toString(),
|
|
10548
|
+
agraporet: this.agruparAporteRetencion ? '1' : '0',
|
|
10549
|
+
condednom: this.contabilizacionDeduccionNomina
|
|
10527
10550
|
};
|
|
10528
10551
|
}
|
|
10529
10552
|
denominacionSigno(sig) {
|