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/fesm2020/sigesp.mjs
CHANGED
|
@@ -1194,7 +1194,6 @@ class MCuentaEgresos$1 extends MBasicModel {
|
|
|
1194
1194
|
this.error = false;
|
|
1195
1195
|
this.status = '';
|
|
1196
1196
|
this.id = 0;
|
|
1197
|
-
this.codfuefin = 0;
|
|
1198
1197
|
if (cuenta) {
|
|
1199
1198
|
this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
1200
1199
|
this.nivel = parseInt(cuenta.nivel);
|
|
@@ -1229,7 +1228,6 @@ class MCuentaEgresos$1 extends MBasicModel {
|
|
|
1229
1228
|
this.idEP3 = parseInt(cuenta.id_ep3);
|
|
1230
1229
|
this.idEP4 = parseInt(cuenta.id_ep4);
|
|
1231
1230
|
this.idEP5 = parseInt(cuenta.id_ep5);
|
|
1232
|
-
this.codfuefin = parseInt(cuenta.codfuefin);
|
|
1233
1231
|
this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
|
|
1234
1232
|
this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
|
|
1235
1233
|
this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
|
|
@@ -1786,16 +1784,6 @@ class MConfigurationSPG {
|
|
|
1786
1784
|
this.estatusContadorCompromiso = configuration.estconcom;
|
|
1787
1785
|
this.numeroInicialCompromiso = configuration.numinicom;
|
|
1788
1786
|
this.codigoONAPRE = configuration.codasiona;
|
|
1789
|
-
this.moneda = new MMonedaConfig({
|
|
1790
|
-
codiso: configuration.moneda_actual.codiso,
|
|
1791
|
-
id_moneda: configuration.moneda_actual.id_moneda,
|
|
1792
|
-
denmon: configuration.moneda_actual.denmon,
|
|
1793
|
-
separadordec: configuration.moneda_actual.separadordec,
|
|
1794
|
-
separadormil: configuration.moneda_actual.separadormil,
|
|
1795
|
-
simmon: configuration.moneda_actual.simmon,
|
|
1796
|
-
decimal: configuration.moneda_actual.decimal,
|
|
1797
|
-
decimal_alt: this.decimalesAlternos.toString(),
|
|
1798
|
-
});
|
|
1799
1787
|
}
|
|
1800
1788
|
}
|
|
1801
1789
|
|
|
@@ -1826,8 +1814,6 @@ class MEstructuraPresupuestariaThree {
|
|
|
1826
1814
|
this.isNew = false;
|
|
1827
1815
|
this.codigoCentroCosto = ep.codcencos;
|
|
1828
1816
|
this.codigoEstructuraProgramatica = ep.codestpro3;
|
|
1829
|
-
this.codigoFuenteFinanciamiento = ep.codfuefin;
|
|
1830
|
-
this.denominacionEstructuraProgramatica = ep.denestpro3;
|
|
1831
1817
|
this.estatusClasificacion = ep.estcla;
|
|
1832
1818
|
this.idEmpresa = ep.id_empresa;
|
|
1833
1819
|
this.idEstructuraOne = ep.id_ep1;
|
|
@@ -1849,8 +1835,6 @@ class MEstructuraPresupuestariaThreeComplete {
|
|
|
1849
1835
|
this.denominacionEstructuraProgramaticaTwo = ep.denestpro2;
|
|
1850
1836
|
this.denominacionEstructuraProgramaticaThree = ep.denestpro3;
|
|
1851
1837
|
this.estatusClasificacion = ep.estcla;
|
|
1852
|
-
this.codigoCentroCosto = ep.codcencos;
|
|
1853
|
-
this.codigoFuenteFinanciamiento = ep.codfuefin;
|
|
1854
1838
|
}
|
|
1855
1839
|
}
|
|
1856
1840
|
class MEstructuraPresupuestariaFour {
|
|
@@ -1878,8 +1862,6 @@ class MEstructuraPresupuestariaFive {
|
|
|
1878
1862
|
this.codigoEstructuraProgramatica = ep.codestpro5;
|
|
1879
1863
|
this.denominacionEstructuraProgramatica = ep.denestpro5;
|
|
1880
1864
|
this.estatusClasificacion = ep.estcla;
|
|
1881
|
-
this.codigoCentroCosto = ep.codcencos;
|
|
1882
|
-
this.codigoFuenteFinanciamiento = ep.codfuefin;
|
|
1883
1865
|
}
|
|
1884
1866
|
dataInterface() {
|
|
1885
1867
|
return {
|
|
@@ -1892,8 +1874,6 @@ class MEstructuraPresupuestariaFive {
|
|
|
1892
1874
|
codestpro5: this.codigoEstructuraProgramatica,
|
|
1893
1875
|
denestpro5: this.denominacionEstructuraProgramatica,
|
|
1894
1876
|
estcla: this.estatusClasificacion,
|
|
1895
|
-
codcencos: this.codigoCentroCosto,
|
|
1896
|
-
codfuefin: this.codigoFuenteFinanciamiento,
|
|
1897
1877
|
};
|
|
1898
1878
|
}
|
|
1899
1879
|
}
|
|
@@ -1910,9 +1890,6 @@ class MEstructuraPresupuestariaFiveComplete {
|
|
|
1910
1890
|
this.codigoEstructuraProgramaticaThree = ep.codestpro3;
|
|
1911
1891
|
this.codigoEstructuraProgramaticaFour = ep.codestpro4 ? ep.codestpro4 : '---';
|
|
1912
1892
|
this.codigoEstructuraProgramatica = ep.codestpro5 ? ep.codestpro5 : '---';
|
|
1913
|
-
this.codigoFuenteFinanciera = ep.codfuefin;
|
|
1914
|
-
this.codigoFuenteFinancieraParaMostrar = ep.codigoftefin;
|
|
1915
|
-
this.denominacionFueteFinanaciamiento = ep.denfuefin;
|
|
1916
1893
|
this.denominacionEstructuraProgramaticaOne = ep.denestpro1;
|
|
1917
1894
|
this.denominacionEstructuraProgramaticaTwo = ep.denestpro2;
|
|
1918
1895
|
this.denominacionEstructuraProgramaticaThree = ep.denestpro3;
|
|
@@ -1947,7 +1924,6 @@ class MEstructuraPresupuestariaFiveComplete {
|
|
|
1947
1924
|
codestpro3: this.codigoEstructuraProgramaticaThree,
|
|
1948
1925
|
codestpro4: this.codigoEstructuraProgramaticaFour,
|
|
1949
1926
|
codestpro5: this.codigoEstructuraProgramatica,
|
|
1950
|
-
codfuefin: this.codigoFuenteFinanciera,
|
|
1951
1927
|
denestpro1: this.denominacionEstructuraProgramaticaOne,
|
|
1952
1928
|
denestpro2: this.denominacionEstructuraProgramaticaTwo,
|
|
1953
1929
|
denestpro3: this.denominacionEstructuraProgramaticaThree,
|
|
@@ -1960,8 +1936,6 @@ class MEstructuraPresupuestariaFiveComplete {
|
|
|
1960
1936
|
id_ep3: this.idEstructuraThree,
|
|
1961
1937
|
id_ep4: this.idEstructuraFor,
|
|
1962
1938
|
id_ep5: this.idEstructuraFive,
|
|
1963
|
-
codigoftefin: this.codigoFuenteFinancieraParaMostrar,
|
|
1964
|
-
denfuefin: this.denominacionFueteFinanaciamiento,
|
|
1965
1939
|
};
|
|
1966
1940
|
}
|
|
1967
1941
|
}
|
|
@@ -2054,7 +2028,7 @@ class MFuenteFinanciamiento extends MBasicModel {
|
|
|
2054
2028
|
this.idEmpresa = '0';
|
|
2055
2029
|
this.idFuenteFinanciamiento = 0;
|
|
2056
2030
|
if (fuente) {
|
|
2057
|
-
this.codigoFuenteFinanciamiento = fuente.
|
|
2031
|
+
this.codigoFuenteFinanciamiento = fuente.codigoftefin;
|
|
2058
2032
|
this.denominacionFuenteFinanciamiento = fuente.denfuefin;
|
|
2059
2033
|
this.explicacionFuenteFinanciamiento = fuente.expfuefin;
|
|
2060
2034
|
this.idEmpresa = fuente.id_empresa;
|
|
@@ -2066,7 +2040,7 @@ class MFuenteFinanciamiento extends MBasicModel {
|
|
|
2066
2040
|
}
|
|
2067
2041
|
dataInterface() {
|
|
2068
2042
|
return {
|
|
2069
|
-
|
|
2043
|
+
codigoftefin: this.codigoFuenteFinanciamiento,
|
|
2070
2044
|
denfuefin: this.denominacionFuenteFinanciamiento,
|
|
2071
2045
|
expfuefin: this.explicacionFuenteFinanciamiento,
|
|
2072
2046
|
id_empresa: this.idEmpresa,
|
|
@@ -2121,7 +2095,6 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2121
2095
|
this.error = false;
|
|
2122
2096
|
this.status = '';
|
|
2123
2097
|
this.id = 0;
|
|
2124
|
-
this.codfuefin = 0;
|
|
2125
2098
|
if (cuenta) {
|
|
2126
2099
|
this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
2127
2100
|
this.nivel = parseInt(cuenta.nivel);
|
|
@@ -2156,7 +2129,6 @@ class MCuentaEgresos extends MBasicModel {
|
|
|
2156
2129
|
this.idEP3 = parseInt(cuenta.id_ep3);
|
|
2157
2130
|
this.idEP4 = parseInt(cuenta.id_ep4);
|
|
2158
2131
|
this.idEP5 = parseInt(cuenta.id_ep5);
|
|
2159
|
-
this.codfuefin = parseInt(cuenta.codfuefin);
|
|
2160
2132
|
this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
|
|
2161
2133
|
this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
|
|
2162
2134
|
this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
|
|
@@ -2571,7 +2543,7 @@ class MComprobantePresupuestarioEgresos {
|
|
|
2571
2543
|
this.SPGCuenta = parseInt(comprobante.spg_cuenta);
|
|
2572
2544
|
this.operacion = comprobante.operacion;
|
|
2573
2545
|
this.idfuenteFinanciamiento = +comprobante.id_fuefin;
|
|
2574
|
-
this.codigoFuenteFinanciamiento = comprobante.
|
|
2546
|
+
this.codigoFuenteFinanciamiento = comprobante.codigoftefin;
|
|
2575
2547
|
this.procede_DOC = comprobante.procede_doc;
|
|
2576
2548
|
this.documento = comprobante.documento;
|
|
2577
2549
|
this.codigoCentroCosto = comprobante.codcencos;
|
|
@@ -4699,7 +4671,6 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4699
4671
|
this.denominacionTipoDocumentoCausa = '';
|
|
4700
4672
|
this.denominacionTipoDocumentoPagoPersonalCheque = '';
|
|
4701
4673
|
this.denominacionTipoDocumentoAporte = '';
|
|
4702
|
-
this.codigoFuenteFinanciamientoMostar = '';
|
|
4703
4674
|
this.denominacionCodigoFuenteFinanciamiento = '';
|
|
4704
4675
|
this.nombreProveedor = '';
|
|
4705
4676
|
this.codigoCentroCosto = '---';
|
|
@@ -4750,7 +4721,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4750
4721
|
this.tipoDocumentoPagoPersonalCheque = parseInt(e.tipdocpagperche);
|
|
4751
4722
|
this.estatusCuentaAlternativa = parseInt(e.estctaalt);
|
|
4752
4723
|
this.idFuenteFinanciamiento = +e.id_fuefin;
|
|
4753
|
-
this.codigoFuenteFinanciamiento = e.
|
|
4724
|
+
this.codigoFuenteFinanciamiento = e.codigoftefin;
|
|
4754
4725
|
this.cerrarSinDisponibilidad = parseInt(e.cersindis);
|
|
4755
4726
|
this.tipoDocumentoCausa = parseInt(e.tipdoccaunom);
|
|
4756
4727
|
this.idConceptoClasificacionParaNomina = parseInt(e.id_concxpnom);
|
|
@@ -4758,7 +4729,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4758
4729
|
this.codigoCentroCosto = e.codcencos;
|
|
4759
4730
|
this.idCentroCosto = +e.id_cencos;
|
|
4760
4731
|
this.denominacionCentroConsto = e.dencencos;
|
|
4761
|
-
this.denominacionCodigoFuenteFinanciamiento = e.
|
|
4732
|
+
this.denominacionCodigoFuenteFinanciamiento = e.codigoftefin + ' - ' + e.denfuefin;
|
|
4762
4733
|
this.denominacionCuentaContable = e.denctacont;
|
|
4763
4734
|
this.nombreProveedor = e.nompro;
|
|
4764
4735
|
this.estatusIncidencia = parseInt(e.estincidencia);
|
|
@@ -4816,7 +4787,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4816
4787
|
tipdocpagperche: this.tipoDocumentoPagoPersonalCheque.toString(),
|
|
4817
4788
|
estctaalt: this.estatusCuentaAlternativa.toString(),
|
|
4818
4789
|
id_fuefin: this.idFuenteFinanciamiento.toString(),
|
|
4819
|
-
|
|
4790
|
+
codigoftefin: this.codigoFuenteFinanciamiento,
|
|
4820
4791
|
cersindis: this.cerrarSinDisponibilidad.toString(),
|
|
4821
4792
|
tipdoccaunom: this.tipoDocumentoCausa.toString(),
|
|
4822
4793
|
id_concxpnom: this.idConceptoClasificacionParaNomina.toString(),
|
|
@@ -6291,6 +6262,8 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6291
6262
|
this.idEp3 = 0;
|
|
6292
6263
|
this.idEp4 = 0;
|
|
6293
6264
|
this.idEp5 = 0;
|
|
6265
|
+
this.idCentroCosto = 0;
|
|
6266
|
+
this.idFuenteFinanciamiento = 0;
|
|
6294
6267
|
this.denominacionCuenta = '';
|
|
6295
6268
|
this.idUnidadOrganizativa = 0;
|
|
6296
6269
|
this.codigoUnidadOrganizativa = '';
|
|
@@ -6322,7 +6295,7 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6322
6295
|
this.denominacionUnidadOrganizativa = charge.denuniadm;
|
|
6323
6296
|
this.codigoCentroCosto = charge.codcencos;
|
|
6324
6297
|
this.denominacionCentroCosto = charge.dencencos;
|
|
6325
|
-
this.codigoFuenteFinanciamiento = +charge.
|
|
6298
|
+
this.codigoFuenteFinanciamiento = +charge.id_fuenfin;
|
|
6326
6299
|
this.codigoFuenteFinanciamientoMostrar = charge.codigoftefin;
|
|
6327
6300
|
this.denominacionFuenteFinanciamiento = charge.denfuefin;
|
|
6328
6301
|
}
|
|
@@ -6347,9 +6320,10 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6347
6320
|
id_ep4: this.idEp4.toString(),
|
|
6348
6321
|
id_ep5: this.idEp5.toString(),
|
|
6349
6322
|
dencuenta: this.denominacionCuenta,
|
|
6350
|
-
codfuefin: this.codigoFuenteFinanciamiento.toString(),
|
|
6351
6323
|
id_uniadm: this.idUnidadOrganizativa.toString(),
|
|
6352
6324
|
codcencos: this.codigoCentroCosto,
|
|
6325
|
+
id_cencos: this.idCentroCosto.toString(),
|
|
6326
|
+
id_fuenfin: this.idFuenteFinanciamiento.toString(),
|
|
6353
6327
|
};
|
|
6354
6328
|
}
|
|
6355
6329
|
}
|