sigesp 1.1.5-20240916 → 1.1.7-20240927
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/CFG/Empresa.model.mjs +2 -3
- package/esm2020/lib/core/models/CFG/moneda.model.mjs +4 -4
- 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 +15 -42
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +15 -42
- 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/CFG/Empresa.model.d.ts +1 -2
- package/lib/core/models/CFG/moneda.model.d.ts +1 -1
- 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 : '';
|
|
@@ -1346,7 +1344,7 @@ class MCuentaInstitucional extends MBasicModel {
|
|
|
1346
1344
|
class MMoneda extends MBasicModel {
|
|
1347
1345
|
constructor(moneda) {
|
|
1348
1346
|
super();
|
|
1349
|
-
this.
|
|
1347
|
+
this.idMoneda = 0;
|
|
1350
1348
|
this.denominacion = '';
|
|
1351
1349
|
this.iso = '';
|
|
1352
1350
|
this.simbolo = '';
|
|
@@ -1355,7 +1353,7 @@ class MMoneda extends MBasicModel {
|
|
|
1355
1353
|
this.decimales = 0;
|
|
1356
1354
|
this.decimalesAlternos = 0;
|
|
1357
1355
|
if (moneda) {
|
|
1358
|
-
this.
|
|
1356
|
+
this.idMoneda = +moneda.id_moneda;
|
|
1359
1357
|
this.denominacion = moneda.denmon;
|
|
1360
1358
|
this.iso = moneda.codiso;
|
|
1361
1359
|
this.simbolo = moneda.simmon;
|
|
@@ -1367,7 +1365,7 @@ class MMoneda extends MBasicModel {
|
|
|
1367
1365
|
}
|
|
1368
1366
|
dataInterface() {
|
|
1369
1367
|
return {
|
|
1370
|
-
id_moneda: this.
|
|
1368
|
+
id_moneda: this.idMoneda.toString(),
|
|
1371
1369
|
denmon: this.denominacion,
|
|
1372
1370
|
codiso: this.iso,
|
|
1373
1371
|
simmon: this.simbolo,
|
|
@@ -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;
|
|
@@ -3830,7 +3802,7 @@ class MEmpresa extends MBasicModel {
|
|
|
3830
3802
|
this.codigoMunicipio = '';
|
|
3831
3803
|
this.codigoParroquia = '';
|
|
3832
3804
|
this.codigoComunidad = '';
|
|
3833
|
-
this.
|
|
3805
|
+
this.idMoneda = 0;
|
|
3834
3806
|
this.nombreRepresentanteLegal = '';
|
|
3835
3807
|
this.cedulaRepresentanteLegal = '';
|
|
3836
3808
|
this.telefonoRepresentanteLegal = '';
|
|
@@ -3859,7 +3831,6 @@ class MEmpresa extends MBasicModel {
|
|
|
3859
3831
|
this.codigoCentroCosto = '';
|
|
3860
3832
|
this.estructuraPresupuestaria = '';
|
|
3861
3833
|
this.tipoEmpresa = 0;
|
|
3862
|
-
this.idMoneda = 0;
|
|
3863
3834
|
if (e) {
|
|
3864
3835
|
this.idEmpresa = +e.id_empresa;
|
|
3865
3836
|
this.rif = e.rifemp;
|
|
@@ -4699,7 +4670,6 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4699
4670
|
this.denominacionTipoDocumentoCausa = '';
|
|
4700
4671
|
this.denominacionTipoDocumentoPagoPersonalCheque = '';
|
|
4701
4672
|
this.denominacionTipoDocumentoAporte = '';
|
|
4702
|
-
this.codigoFuenteFinanciamientoMostar = '';
|
|
4703
4673
|
this.denominacionCodigoFuenteFinanciamiento = '';
|
|
4704
4674
|
this.nombreProveedor = '';
|
|
4705
4675
|
this.codigoCentroCosto = '---';
|
|
@@ -4750,7 +4720,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4750
4720
|
this.tipoDocumentoPagoPersonalCheque = parseInt(e.tipdocpagperche);
|
|
4751
4721
|
this.estatusCuentaAlternativa = parseInt(e.estctaalt);
|
|
4752
4722
|
this.idFuenteFinanciamiento = +e.id_fuefin;
|
|
4753
|
-
this.codigoFuenteFinanciamiento = e.
|
|
4723
|
+
this.codigoFuenteFinanciamiento = e.codigoftefin;
|
|
4754
4724
|
this.cerrarSinDisponibilidad = parseInt(e.cersindis);
|
|
4755
4725
|
this.tipoDocumentoCausa = parseInt(e.tipdoccaunom);
|
|
4756
4726
|
this.idConceptoClasificacionParaNomina = parseInt(e.id_concxpnom);
|
|
@@ -4758,7 +4728,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4758
4728
|
this.codigoCentroCosto = e.codcencos;
|
|
4759
4729
|
this.idCentroCosto = +e.id_cencos;
|
|
4760
4730
|
this.denominacionCentroConsto = e.dencencos;
|
|
4761
|
-
this.denominacionCodigoFuenteFinanciamiento = e.
|
|
4731
|
+
this.denominacionCodigoFuenteFinanciamiento = e.codigoftefin + ' - ' + e.denfuefin;
|
|
4762
4732
|
this.denominacionCuentaContable = e.denctacont;
|
|
4763
4733
|
this.nombreProveedor = e.nompro;
|
|
4764
4734
|
this.estatusIncidencia = parseInt(e.estincidencia);
|
|
@@ -4816,7 +4786,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4816
4786
|
tipdocpagperche: this.tipoDocumentoPagoPersonalCheque.toString(),
|
|
4817
4787
|
estctaalt: this.estatusCuentaAlternativa.toString(),
|
|
4818
4788
|
id_fuefin: this.idFuenteFinanciamiento.toString(),
|
|
4819
|
-
|
|
4789
|
+
codigoftefin: this.codigoFuenteFinanciamiento,
|
|
4820
4790
|
cersindis: this.cerrarSinDisponibilidad.toString(),
|
|
4821
4791
|
tipdoccaunom: this.tipoDocumentoCausa.toString(),
|
|
4822
4792
|
id_concxpnom: this.idConceptoClasificacionParaNomina.toString(),
|
|
@@ -6291,6 +6261,8 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6291
6261
|
this.idEp3 = 0;
|
|
6292
6262
|
this.idEp4 = 0;
|
|
6293
6263
|
this.idEp5 = 0;
|
|
6264
|
+
this.idCentroCosto = 0;
|
|
6265
|
+
this.idFuenteFinanciamiento = 0;
|
|
6294
6266
|
this.denominacionCuenta = '';
|
|
6295
6267
|
this.idUnidadOrganizativa = 0;
|
|
6296
6268
|
this.codigoUnidadOrganizativa = '';
|
|
@@ -6322,7 +6294,7 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6322
6294
|
this.denominacionUnidadOrganizativa = charge.denuniadm;
|
|
6323
6295
|
this.codigoCentroCosto = charge.codcencos;
|
|
6324
6296
|
this.denominacionCentroCosto = charge.dencencos;
|
|
6325
|
-
this.codigoFuenteFinanciamiento = +charge.
|
|
6297
|
+
this.codigoFuenteFinanciamiento = +charge.id_fuenfin;
|
|
6326
6298
|
this.codigoFuenteFinanciamientoMostrar = charge.codigoftefin;
|
|
6327
6299
|
this.denominacionFuenteFinanciamiento = charge.denfuefin;
|
|
6328
6300
|
}
|
|
@@ -6347,9 +6319,10 @@ class MCargosAdicionales extends MBasicModel {
|
|
|
6347
6319
|
id_ep4: this.idEp4.toString(),
|
|
6348
6320
|
id_ep5: this.idEp5.toString(),
|
|
6349
6321
|
dencuenta: this.denominacionCuenta,
|
|
6350
|
-
codfuefin: this.codigoFuenteFinanciamiento.toString(),
|
|
6351
6322
|
id_uniadm: this.idUnidadOrganizativa.toString(),
|
|
6352
6323
|
codcencos: this.codigoCentroCosto,
|
|
6324
|
+
id_cencos: this.idCentroCosto.toString(),
|
|
6325
|
+
id_fuenfin: this.idFuenteFinanciamiento.toString(),
|
|
6353
6326
|
};
|
|
6354
6327
|
}
|
|
6355
6328
|
}
|