sigesp 1.1.5-20240916 → 1.1.6-20240925
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/Banco.mjs +1 -1
- package/esm2020/lib/core/interfaces/ComprobantePresupuestario.mjs +1 -1
- package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +1 -1
- package/esm2020/lib/core/interfaces/CuentaEgresos.mjs +1 -1
- package/esm2020/lib/core/interfaces/EstructuraPresupuestaria.mjs +1 -1
- package/esm2020/lib/core/interfaces/FuenteFinanciamiento.mjs +1 -1
- package/esm2020/lib/core/interfaces/IBancoCuentasPorPagar.mjs +1 -1
- package/esm2020/lib/core/interfaces/Nomina.mjs +1 -1
- package/esm2020/lib/core/interfaces/Presupuesto.mjs +1 -1
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +1 -1
- package/esm2020/lib/core/interfaces/Tributos.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +4 -5
- package/esm2020/lib/core/models/SPG/comprobantePresupuestario.model.mjs +2 -2
- package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +1 -12
- package/esm2020/lib/core/models/SPG/cuentaPresupuesto.model.mjs +1 -3
- package/esm2020/lib/core/models/SPG/estructuraPresupuestaria.model.mjs +1 -15
- package/esm2020/lib/core/models/SPG/expensiveAccount.model.mjs +1 -3
- package/esm2020/lib/core/models/SPG/fuenteFinanciamiento.model.mjs +3 -3
- package/esm2020/lib/core/models/STB/MCargosAdicionales.mjs +6 -3
- package/fesm2015/sigesp.mjs +11 -37
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +11 -37
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Banco.d.ts +5 -5
- package/lib/core/interfaces/ComprobantePresupuestario.d.ts +1 -1
- package/lib/core/interfaces/ConfigurationSPG.d.ts +0 -2
- package/lib/core/interfaces/CuentaEgresos.d.ts +0 -3
- package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +0 -5
- package/lib/core/interfaces/FuenteFinanciamiento.d.ts +1 -1
- package/lib/core/interfaces/IBancoCuentasPorPagar.d.ts +3 -3
- package/lib/core/interfaces/Nomina.d.ts +1 -1
- package/lib/core/interfaces/Presupuesto.d.ts +1 -2
- package/lib/core/interfaces/RecursosHumanos.d.ts +1 -1
- package/lib/core/interfaces/Tributos.d.ts +4 -3
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +0 -1
- package/lib/core/models/SPG/cuentaPresupuesto.model.d.ts +0 -1
- package/lib/core/models/SPG/estructuraPresupuestaria.model.d.ts +1 -6
- package/lib/core/models/SPG/expensiveAccount.model.d.ts +0 -1
- package/lib/core/models/STB/MCargosAdicionales.d.ts +2 -0
- package/package.json +1 -1
package/fesm2015/sigesp.mjs
CHANGED
|
@@ -1197,7 +1197,6 @@ class MCuentaEgresos$1 extends MBasicModel {
|
|
|
1197
1197
|
this.error = false;
|
|
1198
1198
|
this.status = '';
|
|
1199
1199
|
this.id = 0;
|
|
1200
|
-
this.codfuefin = 0;
|
|
1201
1200
|
if (cuenta) {
|
|
1202
1201
|
this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
1203
1202
|
this.nivel = parseInt(cuenta.nivel);
|
|
@@ -1232,7 +1231,6 @@ class MCuentaEgresos$1 extends MBasicModel {
|
|
|
1232
1231
|
this.idEP3 = parseInt(cuenta.id_ep3);
|
|
1233
1232
|
this.idEP4 = parseInt(cuenta.id_ep4);
|
|
1234
1233
|
this.idEP5 = parseInt(cuenta.id_ep5);
|
|
1235
|
-
this.codfuefin = parseInt(cuenta.codfuefin);
|
|
1236
1234
|
this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
|
|
1237
1235
|
this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
|
|
1238
1236
|
this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
|
|
@@ -1793,16 +1791,6 @@ class MConfigurationSPG {
|
|
|
1793
1791
|
this.estatusContadorCompromiso = configuration.estconcom;
|
|
1794
1792
|
this.numeroInicialCompromiso = configuration.numinicom;
|
|
1795
1793
|
this.codigoONAPRE = configuration.codasiona;
|
|
1796
|
-
this.moneda = new MMonedaConfig({
|
|
1797
|
-
codiso: configuration.moneda_actual.codiso,
|
|
1798
|
-
id_moneda: configuration.moneda_actual.id_moneda,
|
|
1799
|
-
denmon: configuration.moneda_actual.denmon,
|
|
1800
|
-
separadordec: configuration.moneda_actual.separadordec,
|
|
1801
|
-
separadormil: configuration.moneda_actual.separadormil,
|
|
1802
|
-
simmon: configuration.moneda_actual.simmon,
|
|
1803
|
-
decimal: configuration.moneda_actual.decimal,
|
|
1804
|
-
decimal_alt: this.decimalesAlternos.toString(),
|
|
1805
|
-
});
|
|
1806
1794
|
}
|
|
1807
1795
|
}
|
|
1808
1796
|
|
|
@@ -1833,8 +1821,6 @@ class MEstructuraPresupuestariaThree {
|
|
|
1833
1821
|
this.isNew = false;
|
|
1834
1822
|
this.codigoCentroCosto = ep.codcencos;
|
|
1835
1823
|
this.codigoEstructuraProgramatica = ep.codestpro3;
|
|
1836
|
-
this.codigoFuenteFinanciamiento = ep.codfuefin;
|
|
1837
|
-
this.denominacionEstructuraProgramatica = ep.denestpro3;
|
|
1838
1824
|
this.estatusClasificacion = ep.estcla;
|
|
1839
1825
|
this.idEmpresa = ep.id_empresa;
|
|
1840
1826
|
this.idEstructuraOne = ep.id_ep1;
|
|
@@ -1856,8 +1842,6 @@ class MEstructuraPresupuestariaThreeComplete {
|
|
|
1856
1842
|
this.denominacionEstructuraProgramaticaTwo = ep.denestpro2;
|
|
1857
1843
|
this.denominacionEstructuraProgramaticaThree = ep.denestpro3;
|
|
1858
1844
|
this.estatusClasificacion = ep.estcla;
|
|
1859
|
-
this.codigoCentroCosto = ep.codcencos;
|
|
1860
|
-
this.codigoFuenteFinanciamiento = ep.codfuefin;
|
|
1861
1845
|
}
|
|
1862
1846
|
}
|
|
1863
1847
|
class MEstructuraPresupuestariaFour {
|
|
@@ -1885,8 +1869,6 @@ class MEstructuraPresupuestariaFive {
|
|
|
1885
1869
|
this.codigoEstructuraProgramatica = ep.codestpro5;
|
|
1886
1870
|
this.denominacionEstructuraProgramatica = ep.denestpro5;
|
|
1887
1871
|
this.estatusClasificacion = ep.estcla;
|
|
1888
|
-
this.codigoCentroCosto = ep.codcencos;
|
|
1889
|
-
this.codigoFuenteFinanciamiento = ep.codfuefin;
|
|
1890
1872
|
}
|
|
1891
1873
|
dataInterface() {
|
|
1892
1874
|
return {
|
|
@@ -1899,8 +1881,6 @@ class MEstructuraPresupuestariaFive {
|
|
|
1899
1881
|
codestpro5: this.codigoEstructuraProgramatica,
|
|
1900
1882
|
denestpro5: this.denominacionEstructuraProgramatica,
|
|
1901
1883
|
estcla: this.estatusClasificacion,
|
|
1902
|
-
codcencos: this.codigoCentroCosto,
|
|
1903
|
-
codfuefin: this.codigoFuenteFinanciamiento,
|
|
1904
1884
|
};
|
|
1905
1885
|
}
|
|
1906
1886
|
}
|
|
@@ -1917,9 +1897,6 @@ class MEstructuraPresupuestariaFiveComplete {
|
|
|
1917
1897
|
this.codigoEstructuraProgramaticaThree = ep.codestpro3;
|
|
1918
1898
|
this.codigoEstructuraProgramaticaFour = ep.codestpro4 ? ep.codestpro4 : '---';
|
|
1919
1899
|
this.codigoEstructuraProgramatica = ep.codestpro5 ? ep.codestpro5 : '---';
|
|
1920
|
-
this.codigoFuenteFinanciera = ep.codfuefin;
|
|
1921
|
-
this.codigoFuenteFinancieraParaMostrar = ep.codigoftefin;
|
|
1922
|
-
this.denominacionFueteFinanaciamiento = ep.denfuefin;
|
|
1923
1900
|
this.denominacionEstructuraProgramaticaOne = ep.denestpro1;
|
|
1924
1901
|
this.denominacionEstructuraProgramaticaTwo = ep.denestpro2;
|
|
1925
1902
|
this.denominacionEstructuraProgramaticaThree = ep.denestpro3;
|
|
@@ -1954,7 +1931,6 @@ class MEstructuraPresupuestariaFiveComplete {
|
|
|
1954
1931
|
codestpro3: this.codigoEstructuraProgramaticaThree,
|
|
1955
1932
|
codestpro4: this.codigoEstructuraProgramaticaFour,
|
|
1956
1933
|
codestpro5: this.codigoEstructuraProgramatica,
|
|
1957
|
-
codfuefin: this.codigoFuenteFinanciera,
|
|
1958
1934
|
denestpro1: this.denominacionEstructuraProgramaticaOne,
|
|
1959
1935
|
denestpro2: this.denominacionEstructuraProgramaticaTwo,
|
|
1960
1936
|
denestpro3: this.denominacionEstructuraProgramaticaThree,
|
|
@@ -1967,8 +1943,6 @@ class MEstructuraPresupuestariaFiveComplete {
|
|
|
1967
1943
|
id_ep3: this.idEstructuraThree,
|
|
1968
1944
|
id_ep4: this.idEstructuraFor,
|
|
1969
1945
|
id_ep5: this.idEstructuraFive,
|
|
1970
|
-
codigoftefin: this.codigoFuenteFinancieraParaMostrar,
|
|
1971
|
-
denfuefin: this.denominacionFueteFinanaciamiento,
|
|
1972
1946
|
};
|
|
1973
1947
|
}
|
|
1974
1948
|
}
|
|
@@ -2061,7 +2035,7 @@ class MFuenteFinanciamiento extends MBasicModel {
|
|
|
2061
2035
|
this.idEmpresa = '0';
|
|
2062
2036
|
this.idFuenteFinanciamiento = 0;
|
|
2063
2037
|
if (fuente) {
|
|
2064
|
-
this.codigoFuenteFinanciamiento = fuente.
|
|
2038
|
+
this.codigoFuenteFinanciamiento = fuente.codigoftefin;
|
|
2065
2039
|
this.denominacionFuenteFinanciamiento = fuente.denfuefin;
|
|
2066
2040
|
this.explicacionFuenteFinanciamiento = fuente.expfuefin;
|
|
2067
2041
|
this.idEmpresa = fuente.id_empresa;
|
|
@@ -2073,7 +2047,7 @@ class MFuenteFinanciamiento extends MBasicModel {
|
|
|
2073
2047
|
}
|
|
2074
2048
|
dataInterface() {
|
|
2075
2049
|
return {
|
|
2076
|
-
|
|
2050
|
+
codigoftefin: this.codigoFuenteFinanciamiento,
|
|
2077
2051
|
denfuefin: this.denominacionFuenteFinanciamiento,
|
|
2078
2052
|
expfuefin: this.explicacionFuenteFinanciamiento,
|
|
2079
2053
|
id_empresa: this.idEmpresa,
|
|
@@ -2128,7 +2102,6 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2128
2102
|
this.error = false;
|
|
2129
2103
|
this.status = '';
|
|
2130
2104
|
this.id = 0;
|
|
2131
|
-
this.codfuefin = 0;
|
|
2132
2105
|
if (cuenta) {
|
|
2133
2106
|
this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
2134
2107
|
this.nivel = parseInt(cuenta.nivel);
|
|
@@ -2163,7 +2136,6 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2163
2136
|
this.idEP3 = parseInt(cuenta.id_ep3);
|
|
2164
2137
|
this.idEP4 = parseInt(cuenta.id_ep4);
|
|
2165
2138
|
this.idEP5 = parseInt(cuenta.id_ep5);
|
|
2166
|
-
this.codfuefin = parseInt(cuenta.codfuefin);
|
|
2167
2139
|
this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
|
|
2168
2140
|
this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
|
|
2169
2141
|
this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
|
|
@@ -2582,7 +2554,7 @@ class MComprobantePresupuestarioEgresos {
|
|
|
2582
2554
|
this.SPGCuenta = parseInt(comprobante.spg_cuenta);
|
|
2583
2555
|
this.operacion = comprobante.operacion;
|
|
2584
2556
|
this.idfuenteFinanciamiento = +comprobante.id_fuefin;
|
|
2585
|
-
this.codigoFuenteFinanciamiento = comprobante.
|
|
2557
|
+
this.codigoFuenteFinanciamiento = comprobante.codigoftefin;
|
|
2586
2558
|
this.procede_DOC = comprobante.procede_doc;
|
|
2587
2559
|
this.documento = comprobante.documento;
|
|
2588
2560
|
this.codigoCentroCosto = comprobante.codcencos;
|
|
@@ -4710,7 +4682,6 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4710
4682
|
this.denominacionTipoDocumentoCausa = '';
|
|
4711
4683
|
this.denominacionTipoDocumentoPagoPersonalCheque = '';
|
|
4712
4684
|
this.denominacionTipoDocumentoAporte = '';
|
|
4713
|
-
this.codigoFuenteFinanciamientoMostar = '';
|
|
4714
4685
|
this.denominacionCodigoFuenteFinanciamiento = '';
|
|
4715
4686
|
this.nombreProveedor = '';
|
|
4716
4687
|
this.codigoCentroCosto = '---';
|
|
@@ -4761,7 +4732,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4761
4732
|
this.tipoDocumentoPagoPersonalCheque = parseInt(e.tipdocpagperche);
|
|
4762
4733
|
this.estatusCuentaAlternativa = parseInt(e.estctaalt);
|
|
4763
4734
|
this.idFuenteFinanciamiento = +e.id_fuefin;
|
|
4764
|
-
this.codigoFuenteFinanciamiento = e.
|
|
4735
|
+
this.codigoFuenteFinanciamiento = e.codigoftefin;
|
|
4765
4736
|
this.cerrarSinDisponibilidad = parseInt(e.cersindis);
|
|
4766
4737
|
this.tipoDocumentoCausa = parseInt(e.tipdoccaunom);
|
|
4767
4738
|
this.idConceptoClasificacionParaNomina = parseInt(e.id_concxpnom);
|
|
@@ -4769,7 +4740,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4769
4740
|
this.codigoCentroCosto = e.codcencos;
|
|
4770
4741
|
this.idCentroCosto = +e.id_cencos;
|
|
4771
4742
|
this.denominacionCentroConsto = e.dencencos;
|
|
4772
|
-
this.denominacionCodigoFuenteFinanciamiento = e.
|
|
4743
|
+
this.denominacionCodigoFuenteFinanciamiento = e.codigoftefin + ' - ' + e.denfuefin;
|
|
4773
4744
|
this.denominacionCuentaContable = e.denctacont;
|
|
4774
4745
|
this.nombreProveedor = e.nompro;
|
|
4775
4746
|
this.estatusIncidencia = parseInt(e.estincidencia);
|
|
@@ -4827,7 +4798,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4827
4798
|
tipdocpagperche: this.tipoDocumentoPagoPersonalCheque.toString(),
|
|
4828
4799
|
estctaalt: this.estatusCuentaAlternativa.toString(),
|
|
4829
4800
|
id_fuefin: this.idFuenteFinanciamiento.toString(),
|
|
4830
|
-
|
|
4801
|
+
codigoftefin: this.codigoFuenteFinanciamiento,
|
|
4831
4802
|
cersindis: this.cerrarSinDisponibilidad.toString(),
|
|
4832
4803
|
tipdoccaunom: this.tipoDocumentoCausa.toString(),
|
|
4833
4804
|
id_concxpnom: this.idConceptoClasificacionParaNomina.toString(),
|
|
@@ -6302,6 +6273,8 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6302
6273
|
this.idEp3 = 0;
|
|
6303
6274
|
this.idEp4 = 0;
|
|
6304
6275
|
this.idEp5 = 0;
|
|
6276
|
+
this.idCentroCosto = 0;
|
|
6277
|
+
this.idFuenteFinanciamiento = 0;
|
|
6305
6278
|
this.denominacionCuenta = '';
|
|
6306
6279
|
this.idUnidadOrganizativa = 0;
|
|
6307
6280
|
this.codigoUnidadOrganizativa = '';
|
|
@@ -6333,7 +6306,7 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6333
6306
|
this.denominacionUnidadOrganizativa = charge.denuniadm;
|
|
6334
6307
|
this.codigoCentroCosto = charge.codcencos;
|
|
6335
6308
|
this.denominacionCentroCosto = charge.dencencos;
|
|
6336
|
-
this.codigoFuenteFinanciamiento = +charge.
|
|
6309
|
+
this.codigoFuenteFinanciamiento = +charge.id_fuenfin;
|
|
6337
6310
|
this.codigoFuenteFinanciamientoMostrar = charge.codigoftefin;
|
|
6338
6311
|
this.denominacionFuenteFinanciamiento = charge.denfuefin;
|
|
6339
6312
|
}
|
|
@@ -6358,9 +6331,10 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6358
6331
|
id_ep4: this.idEp4.toString(),
|
|
6359
6332
|
id_ep5: this.idEp5.toString(),
|
|
6360
6333
|
dencuenta: this.denominacionCuenta,
|
|
6361
|
-
codfuefin: this.codigoFuenteFinanciamiento.toString(),
|
|
6362
6334
|
id_uniadm: this.idUnidadOrganizativa.toString(),
|
|
6363
6335
|
codcencos: this.codigoCentroCosto,
|
|
6336
|
+
id_cencos: this.idCentroCosto.toString(),
|
|
6337
|
+
id_fuenfin: this.idFuenteFinanciamiento.toString(),
|
|
6364
6338
|
};
|
|
6365
6339
|
}
|
|
6366
6340
|
}
|