sigesp 0.9.37-20230211 → 0.9.38-20230223
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
CHANGED
|
@@ -6957,10 +6957,11 @@
|
|
|
6957
6957
|
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 (resp) { return resp.data.map(function (element) { return new MMoneda(element); }); }));
|
|
6958
6958
|
};
|
|
6959
6959
|
/**
|
|
6960
|
-
* @Description: Obtiene la tasa de cambio
|
|
6960
|
+
* @Description: Obtiene la tasa de cambio asociadas a uno o varias monedas
|
|
6961
6961
|
* @param tipo string
|
|
6962
6962
|
* @param id codigo moneda
|
|
6963
6963
|
* @returns array/null
|
|
6964
|
+
* @tipo:all->todas, (moneda->una moneda id->id de moneda)
|
|
6964
6965
|
*/
|
|
6965
6966
|
SigespService.prototype.getCurrencyExchangeRate = function (tipo, id) {
|
|
6966
6967
|
if (tipo === void 0) { tipo = null; }
|
|
@@ -7285,6 +7286,9 @@
|
|
|
7285
7286
|
* @return Observable<IResponse>
|
|
7286
7287
|
* @author Carlos Albornoz
|
|
7287
7288
|
* @actualizado: 4-12-20222
|
|
7289
|
+
* @params id: id de la moneda,
|
|
7290
|
+
* @params tipo: todas->obtiene todas las moneda, (uno-> obtiene una moneda + id)
|
|
7291
|
+
* (mon:formato para inputCurrency + id )
|
|
7288
7292
|
*/
|
|
7289
7293
|
SigespService.prototype.getCurrentCurrency = function (tipo, id) {
|
|
7290
7294
|
if (tipo === void 0) { tipo = null; }
|
|
@@ -7300,7 +7304,6 @@
|
|
|
7300
7304
|
* @return Observable<IResponse>
|
|
7301
7305
|
* @author Dimaly Crespo
|
|
7302
7306
|
* @actualizado: 5-12-20222
|
|
7303
|
-
* @tipo
|
|
7304
7307
|
*/
|
|
7305
7308
|
SigespService.prototype.getEnterprise = function (tipo, id) {
|
|
7306
7309
|
if (tipo === void 0) { tipo = null; }
|