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.
@@ -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,7 +1857,9 @@ 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.denfufin;
1858
1861
  this.codigoFuenteFinanciaminto = configuration.codigoftefin;
1862
+ this.denominacionCentroCosto = configuration.dencencos;
1859
1863
  this.codigoCentroCosto = configuration.codcencos;
1860
1864
  this.estructuraPresupuestaria = configuration.estpre;
1861
1865
  this.editable = configuration.editable == '0';
@@ -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
  }