sigesp 0.9.30-20230208 → 0.9.32-20230208

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.
@@ -6160,6 +6160,15 @@
6160
6160
  return res;
6161
6161
  }));
6162
6162
  };
6163
+ SigespService.prototype.updateDistributionIncomeAccount2 = function (distribution) {
6164
+ return this.http.put(this.URL + "/dao/spi/cuentas_ingresos_dao.php", distribution, { headers: this.getHttpHeaders() })
6165
+ .pipe(operators.map(function (res) {
6166
+ if (res.success) {
6167
+ res.data = new MCuentaIngresos(res.data);
6168
+ }
6169
+ return res;
6170
+ }));
6171
+ };
6163
6172
  /**
6164
6173
  * @Actualiza la distribución de la cuenta de Ingreso de Estructura
6165
6174
  * @param distribution
@@ -7279,7 +7288,7 @@
7279
7288
  */
7280
7289
  SigespService.prototype.getCurrentCurrency = function (tipo, id) {
7281
7290
  if (tipo === void 0) { tipo = null; }
7282
- return this.http.get(this.URL + "/dao/cfg/moneda_dao.php?tipo=" + tipo + "&id={id}", { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
7291
+ return this.http.get(this.URL + "/dao/cfg/moneda_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
7283
7292
  if (res.success) {
7284
7293
  res.data = new MMonedaConfig(res.data);
7285
7294
  }