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.
- package/bundles/sigesp.umd.js +10 -1
- 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/CuentaEgresos.js +1 -1
- package/esm2015/lib/sigesp.service.js +11 -2
- package/fesm2015/sigesp.js +10 -1
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/CuentaEgresos.d.ts +22 -0
- package/lib/sigesp.service.d.ts +2 -1
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/fesm2015/sigesp.js
CHANGED
|
@@ -5668,6 +5668,15 @@ class SigespService {
|
|
|
5668
5668
|
return res;
|
|
5669
5669
|
}));
|
|
5670
5670
|
}
|
|
5671
|
+
updateDistributionIncomeAccount2(distribution) {
|
|
5672
|
+
return this.http.put(`${this.URL}/dao/spi/cuentas_ingresos_dao.php`, distribution, { headers: this.getHttpHeaders() })
|
|
5673
|
+
.pipe(map((res) => {
|
|
5674
|
+
if (res.success) {
|
|
5675
|
+
res.data = new MCuentaIngresos(res.data);
|
|
5676
|
+
}
|
|
5677
|
+
return res;
|
|
5678
|
+
}));
|
|
5679
|
+
}
|
|
5671
5680
|
/**
|
|
5672
5681
|
* @Actualiza la distribución de la cuenta de Ingreso de Estructura
|
|
5673
5682
|
* @param distribution
|
|
@@ -6675,7 +6684,7 @@ class SigespService {
|
|
|
6675
6684
|
* @actualizado: 4-12-20222
|
|
6676
6685
|
*/
|
|
6677
6686
|
getCurrentCurrency(tipo = null, id) {
|
|
6678
|
-
return this.http.get(`${this.URL}/dao/cfg/moneda_dao.php?tipo=${tipo}&id
|
|
6687
|
+
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
6688
|
if (res.success) {
|
|
6680
6689
|
res.data = new MMonedaConfig(res.data);
|
|
6681
6690
|
}
|