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.
- package/bundles/sigesp.umd.js +3 -2
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Usuario.js +1 -1
- package/esm2015/lib/sigesp.service.js +3 -3
- package/fesm2015/sigesp.js +2 -2
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Usuario.d.ts +1 -0
- package/lib/sigesp.service.d.ts +1 -1
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -7277,8 +7277,9 @@
|
|
|
7277
7277
|
* @author Carlos Albornoz
|
|
7278
7278
|
* @actualizado: 4-12-20222
|
|
7279
7279
|
*/
|
|
7280
|
-
SigespService.prototype.getCurrentCurrency = function () {
|
|
7281
|
-
|
|
7280
|
+
SigespService.prototype.getCurrentCurrency = function (tipo, id) {
|
|
7281
|
+
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) {
|
|
7282
7283
|
if (res.success) {
|
|
7283
7284
|
res.data = new MMonedaConfig(res.data);
|
|
7284
7285
|
}
|