sigesp 0.9.28-20230204 → 0.9.30-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.
@@ -6674,8 +6674,8 @@ class SigespService {
6674
6674
  * @author Carlos Albornoz
6675
6675
  * @actualizado: 4-12-20222
6676
6676
  */
6677
- getCurrentCurrency() {
6678
- return this.http.get(`${this.URL}/dao/cfg/moneda_dao.php?tipo=${'actual'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
6677
+ getCurrentCurrency(tipo = null, id) {
6678
+ return this.http.get(`${this.URL}/dao/cfg/moneda_dao.php?tipo=${tipo}&id={id}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
6679
6679
  if (res.success) {
6680
6680
  res.data = new MMonedaConfig(res.data);
6681
6681
  }