sigesp 1.1.27-20240512 → 1.1.29-20241208
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/ConfigurationSPG.mjs +1 -1
- package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +7 -3
- package/esm2020/lib/sigesp.service.mjs +5 -8
- package/fesm2015/sigesp.mjs +10 -9
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +10 -9
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/ConfigurationSPG.d.ts +2 -2
- package/lib/core/models/SPG/configurationSPG.model.d.ts +2 -0
- package/lib/sigesp.service.d.ts +2 -2
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -1812,7 +1812,9 @@ class MConfigurationSPG {
|
|
|
1812
1812
|
this.idEP5 = 0;
|
|
1813
1813
|
this.denominacionUnidadAdministrativa = '';
|
|
1814
1814
|
this.codigoUnidadAdministrativa = '';
|
|
1815
|
+
this.denominacionFuenteFinanciaminto = '';
|
|
1815
1816
|
this.codigoFuenteFinanciaminto = '';
|
|
1817
|
+
this.denominacionCentroCosto = '';
|
|
1816
1818
|
this.codigoCentroCosto = '';
|
|
1817
1819
|
this.estructuraPresupuestaria = '';
|
|
1818
1820
|
this.editable = false;
|
|
@@ -1855,8 +1857,10 @@ class MConfigurationSPG {
|
|
|
1855
1857
|
this.idUnidadAdministrativa = +configuration.id_uniadm;
|
|
1856
1858
|
this.denominacionUnidadAdministrativa = configuration.denuniadm;
|
|
1857
1859
|
this.codigoUnidadAdministrativa = configuration.coduniadm;
|
|
1860
|
+
this.denominacionFuenteFinanciaminto = configuration.denfuefin;
|
|
1858
1861
|
this.codigoFuenteFinanciaminto = configuration.codigoftefin;
|
|
1859
|
-
this.
|
|
1862
|
+
this.denominacionCentroCosto = configuration.dencencos;
|
|
1863
|
+
this.codigoCentroCosto = configuration.denominacion;
|
|
1860
1864
|
this.estructuraPresupuestaria = configuration.estpre;
|
|
1861
1865
|
this.editable = configuration.editable == '0';
|
|
1862
1866
|
this.codigoEnterprise = configuration.codigo;
|
|
@@ -1868,7 +1872,7 @@ class MConfigurationSPG {
|
|
|
1868
1872
|
id_empresa: this.idEmpresa.toString(),
|
|
1869
1873
|
id_spg: this.IdSPG.toString(),
|
|
1870
1874
|
id_enterprise: this.idEnterprise.toString(),
|
|
1871
|
-
perfiscal: this.periodoFiscal.
|
|
1875
|
+
perfiscal: this.periodoFiscal.toString(),
|
|
1872
1876
|
estciespg: this.estatusCierrePresupuestoGasto,
|
|
1873
1877
|
estciespi: this.estatusCierrePresupuestoIngreso,
|
|
1874
1878
|
estmodest: this.estatusModoEstructuraPresupuestaria,
|
|
@@ -6828,15 +6832,12 @@ class SigespService {
|
|
|
6828
6832
|
* @return Observable<MConfiguracionSNO[]>
|
|
6829
6833
|
* @date 27-07-2021
|
|
6830
6834
|
*/
|
|
6831
|
-
getConfigurationSNO() {
|
|
6832
|
-
return this.http.get(`${this.URL}/dao/sno/configuracion_dao.php?tipo=${'configuracion'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6835
|
+
getConfigurationSNO(idEnterprise) {
|
|
6836
|
+
return this.http.get(`${this.URL}/dao/sno/configuracion_dao.php?tipo=${'configuracion'}&e=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6833
6837
|
if (resp.success) {
|
|
6834
6838
|
if (resp.data != null) {
|
|
6835
6839
|
resp.data = resp.data.map(e => new MConfiguracionSNO(e));
|
|
6836
6840
|
}
|
|
6837
|
-
else {
|
|
6838
|
-
resp.data = [];
|
|
6839
|
-
}
|
|
6840
6841
|
}
|
|
6841
6842
|
return resp;
|
|
6842
6843
|
}));
|
|
@@ -6849,8 +6850,8 @@ class SigespService {
|
|
|
6849
6850
|
* @return Observable<IResponse>
|
|
6850
6851
|
* @author Carlos Albornoz
|
|
6851
6852
|
*/
|
|
6852
|
-
getConfigSSS() {
|
|
6853
|
-
return this.http.get(`${this.URL}/dao/sss/seguridad_config_dao.php`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6853
|
+
getConfigSSS(idEnterprise = 0) {
|
|
6854
|
+
return this.http.get(`${this.URL}/dao/sss/seguridad_config_dao.php?e=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6854
6855
|
if (resp.success) {
|
|
6855
6856
|
resp.data = new MConfigSSS(resp.data);
|
|
6856
6857
|
}
|