sigesp 1.1.27-20240512 → 1.1.28-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/models/SPG/configurationSPG.model.mjs +5 -1
- package/esm2020/lib/sigesp.service.mjs +5 -8
- package/fesm2015/sigesp.mjs +8 -7
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +8 -7
- package/fesm2020/sigesp.mjs.map +1 -1
- 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/fesm2015/sigesp.mjs
CHANGED
|
@@ -1819,7 +1819,9 @@ class MConfigurationSPG {
|
|
|
1819
1819
|
this.idEP5 = 0;
|
|
1820
1820
|
this.denominacionUnidadAdministrativa = '';
|
|
1821
1821
|
this.codigoUnidadAdministrativa = '';
|
|
1822
|
+
this.denominacionFuenteFinanciaminto = '';
|
|
1822
1823
|
this.codigoFuenteFinanciaminto = '';
|
|
1824
|
+
this.denominacionCentroCosto = '';
|
|
1823
1825
|
this.codigoCentroCosto = '';
|
|
1824
1826
|
this.estructuraPresupuestaria = '';
|
|
1825
1827
|
this.editable = false;
|
|
@@ -1862,7 +1864,9 @@ class MConfigurationSPG {
|
|
|
1862
1864
|
this.idUnidadAdministrativa = +configuration.id_uniadm;
|
|
1863
1865
|
this.denominacionUnidadAdministrativa = configuration.denuniadm;
|
|
1864
1866
|
this.codigoUnidadAdministrativa = configuration.coduniadm;
|
|
1867
|
+
this.denominacionFuenteFinanciaminto = configuration.denfufin;
|
|
1865
1868
|
this.codigoFuenteFinanciaminto = configuration.codigoftefin;
|
|
1869
|
+
this.denominacionCentroCosto = configuration.dencencos;
|
|
1866
1870
|
this.codigoCentroCosto = configuration.codcencos;
|
|
1867
1871
|
this.estructuraPresupuestaria = configuration.estpre;
|
|
1868
1872
|
this.editable = configuration.editable == '0';
|
|
@@ -6839,15 +6843,12 @@ class SigespService {
|
|
|
6839
6843
|
* @return Observable<MConfiguracionSNO[]>
|
|
6840
6844
|
* @date 27-07-2021
|
|
6841
6845
|
*/
|
|
6842
|
-
getConfigurationSNO() {
|
|
6843
|
-
return this.http.get(`${this.URL}/dao/sno/configuracion_dao.php?tipo=${'configuracion'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6846
|
+
getConfigurationSNO(idEnterprise) {
|
|
6847
|
+
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) => {
|
|
6844
6848
|
if (resp.success) {
|
|
6845
6849
|
if (resp.data != null) {
|
|
6846
6850
|
resp.data = resp.data.map(e => new MConfiguracionSNO(e));
|
|
6847
6851
|
}
|
|
6848
|
-
else {
|
|
6849
|
-
resp.data = [];
|
|
6850
|
-
}
|
|
6851
6852
|
}
|
|
6852
6853
|
return resp;
|
|
6853
6854
|
}));
|
|
@@ -6860,8 +6861,8 @@ class SigespService {
|
|
|
6860
6861
|
* @return Observable<IResponse>
|
|
6861
6862
|
* @author Carlos Albornoz
|
|
6862
6863
|
*/
|
|
6863
|
-
getConfigSSS() {
|
|
6864
|
-
return this.http.get(`${this.URL}/dao/sss/seguridad_config_dao.php`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6864
|
+
getConfigSSS(idEnterprise = 0) {
|
|
6865
|
+
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) => {
|
|
6865
6866
|
if (resp.success) {
|
|
6866
6867
|
resp.data = new MConfigSSS(resp.data);
|
|
6867
6868
|
}
|