sigesp 0.9.101-20240224 → 0.9.102-20240224

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.
@@ -1995,6 +1995,11 @@ class MUsuarioCentroCosto extends MBasicModel {
1995
1995
  class MFuenteFinanciamiento extends MBasicModel {
1996
1996
  constructor(fuente) {
1997
1997
  super();
1998
+ this.codigoFuenteFinanciamiento = '';
1999
+ this.denominacionFuenteFinanciamiento = '';
2000
+ this.explicacionFuenteFinanciamiento = '';
2001
+ this.idEmpresa = '0';
2002
+ this.codigo = '0';
1998
2003
  if (fuente) {
1999
2004
  this.codigoFuenteFinanciamiento = fuente.codfuefin;
2000
2005
  this.denominacionFuenteFinanciamiento = fuente.denfuefin;
@@ -7231,8 +7236,8 @@ class SigespService {
7231
7236
  * @return Observable<MCuentaPresupuesto>
7232
7237
  * @author Miguel Ramírez
7233
7238
  */
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))));
7239
+ getCuentasPresupuesto(filter) {
7240
+ 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
7241
  }
7237
7242
  /**
7238
7243
  * @description Abre el cátalogo de cuentas de la tabla "scg_plan_unico_re"