sigesp 0.9.101-20240224 → 0.9.103-20240401

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.
@@ -248,6 +248,7 @@ const TipoDefiniciones = [
248
248
  { value: "9", denominacion: 'Clasificación de Personal' },
249
249
  { value: "3", denominacion: 'Nivel de Selección' },
250
250
  { value: "4", denominacion: 'Profesiones' },
251
+ { value: "16", denominacion: 'Permisos Personal' },
251
252
  { value: "14", denominacion: 'Sindicato' },
252
253
  { value: "5", denominacion: 'Tipo de Accidentes' },
253
254
  { value: "6", denominacion: 'Tipo de Cobertura de Salud' },
@@ -1995,6 +1996,11 @@ class MUsuarioCentroCosto extends MBasicModel {
1995
1996
  class MFuenteFinanciamiento extends MBasicModel {
1996
1997
  constructor(fuente) {
1997
1998
  super();
1999
+ this.codigoFuenteFinanciamiento = '';
2000
+ this.denominacionFuenteFinanciamiento = '';
2001
+ this.explicacionFuenteFinanciamiento = '';
2002
+ this.idEmpresa = '0';
2003
+ this.codigo = '0';
1998
2004
  if (fuente) {
1999
2005
  this.codigoFuenteFinanciamiento = fuente.codfuefin;
2000
2006
  this.denominacionFuenteFinanciamiento = fuente.denfuefin;
@@ -7231,8 +7237,8 @@ class SigespService {
7231
7237
  * @return Observable<MCuentaPresupuesto>
7232
7238
  * @author Miguel Ramírez
7233
7239
  */
7234
- getCuentasPresupuesto() {
7235
- return this.http.get(`${this.URL}/dao/scg/plan_unico_cuentas_dao.php`, { headers: this.getHttpHeaders() }).pipe(map((res) => res.data.map(element => new MCuentaPresupuesto(element))));
7240
+ getCuentasPresupuesto(filter) {
7241
+ return this.http.get(`${this.URL}/dao/scg/plan_unico_cuentas_dao.php?filter=${filter}`, { headers: this.getHttpHeaders() }).pipe(map((res) => res.data.map(element => new MCuentaPresupuesto(element))));
7236
7242
  }
7237
7243
  /**
7238
7244
  * @description Abre el cátalogo de cuentas de la tabla "scg_plan_unico_re"