sigesp 0.9.33-20230209 → 0.9.35-20230210

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.
@@ -7471,8 +7471,8 @@
7471
7471
  * @return Observable<IResponse>
7472
7472
  * @author Carlos Albornoz
7473
7473
  */
7474
- SigespService.prototype.getBanks = function () {
7475
- return this.http.get(this.URL + "/dao/scb/banco_dao.php", { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
7474
+ SigespService.prototype.getBanks = function (idEnterprise) {
7475
+ return this.http.get(this.URL + "/dao/scb/banco_dao.php?e=" + idEnterprise, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
7476
7476
  if (res.success) {
7477
7477
  res.data = res.data.map(function (e) { return new MBank(e); });
7478
7478
  }
@@ -7492,8 +7492,8 @@
7492
7492
  return res;
7493
7493
  }));
7494
7494
  };
7495
- SigespService.prototype.getAllBankAccount = function () {
7496
- return this.http.get(this.URL + "/dao/scb/cuenta_banco_dao.php?", { headers: this.getHttpHeaders() })
7495
+ SigespService.prototype.getAllBankAccount = function (tipo, id) {
7496
+ return this.http.get(this.URL + "/dao/scb/cuenta_banco_dao.php?tipo=" + tipo + "&e=" + id, { headers: this.getHttpHeaders() })
7497
7497
  .pipe(operators.map(function (res) {
7498
7498
  if (res.success) {
7499
7499
  res.data = res.data.map(function (element) { return new MCuentaBanco(element); });