sigesp 0.9.32-20230208 → 0.9.34-20230209

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.
@@ -5697,8 +5697,7 @@ class SigespService {
5697
5697
  * @return Observable<MCuentaEgresos[]>
5698
5698
  */
5699
5699
  getExpenseAccountsForLevel(level, id) {
5700
- return this.http.get(`${this.URL}/dao/spg/cuentas_egresos_dao.php
5701
- ?level=${level}&id=${id}`, { headers: this.getHttpHeaders() })
5700
+ return this.http.get(`${this.URL}/dao/spg/cuentas_egresos_dao.php?level=${level}&id=${id}`, { headers: this.getHttpHeaders() })
5702
5701
  .pipe(map((res) => res.data.map(element => new MCuentaEgresos(element))));
5703
5702
  }
5704
5703
  /**
@@ -6854,7 +6853,7 @@ class SigespService {
6854
6853
  * @return Observable<IResponse>
6855
6854
  * @author Carlos Albornoz
6856
6855
  */
6857
- getBanks() {
6856
+ getBanks(id) {
6858
6857
  return this.http.get(`${this.URL}/dao/scb/banco_dao.php`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
6859
6858
  if (res.success) {
6860
6859
  res.data = res.data.map(e => new MBank(e));
@@ -6875,7 +6874,7 @@ class SigespService {
6875
6874
  return res;
6876
6875
  }));
6877
6876
  }
6878
- getAllBankAccount() {
6877
+ getAllBankAccount(id) {
6879
6878
  return this.http.get(`${this.URL}/dao/scb/cuenta_banco_dao.php?`, { headers: this.getHttpHeaders() })
6880
6879
  .pipe(map((res) => {
6881
6880
  if (res.success) {