sigesp 0.9.88-20231115 → 0.9.89-20231124
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 +12 -4
- 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/ConfigurationSPG.js +1 -1
- package/esm2015/lib/core/interfaces/Moneda.js +1 -1
- package/esm2015/lib/core/models/CFG/moneda.model.js +8 -2
- package/esm2015/lib/core/models/SIV/MTipoDepositos.model.js +3 -3
- package/esm2015/lib/core/models/SPG/configurationSPG.model.js +4 -2
- package/fesm2015/sigesp.js +12 -4
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Moneda.d.ts +2 -0
- package/lib/core/models/CFG/moneda.model.d.ts +2 -0
- package/lib/core/models/SPG/configurationSPG.model.d.ts +1 -0
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -1539,6 +1539,7 @@
|
|
|
1539
1539
|
_this.separadorDecimal = '';
|
|
1540
1540
|
_this.separadorMiles = '';
|
|
1541
1541
|
_this.decimales = 0;
|
|
1542
|
+
_this.decimalesAlternos = 0;
|
|
1542
1543
|
if (moneda) {
|
|
1543
1544
|
_this.codigo = moneda.codmon;
|
|
1544
1545
|
_this.denominacion = moneda.denmon;
|
|
@@ -1547,6 +1548,7 @@
|
|
|
1547
1548
|
_this.separadorDecimal = moneda.separadordec;
|
|
1548
1549
|
_this.separadorMiles = moneda.separadormil;
|
|
1549
1550
|
_this.decimales = parseInt(moneda.decimal);
|
|
1551
|
+
_this.decimalesAlternos = parseInt(moneda.decimal_alt);
|
|
1550
1552
|
}
|
|
1551
1553
|
return _this;
|
|
1552
1554
|
}
|
|
@@ -1559,6 +1561,7 @@
|
|
|
1559
1561
|
separadordec: this.separadorDecimal,
|
|
1560
1562
|
separadormil: this.separadorMiles,
|
|
1561
1563
|
decimal: this.decimales.toString(),
|
|
1564
|
+
decimal_alt: this.decimalesAlternos.toString(),
|
|
1562
1565
|
};
|
|
1563
1566
|
};
|
|
1564
1567
|
return MMoneda;
|
|
@@ -1574,6 +1577,7 @@
|
|
|
1574
1577
|
_this.separadorDecimal = '';
|
|
1575
1578
|
_this.separadorMiles = '';
|
|
1576
1579
|
_this.decimales = 0;
|
|
1580
|
+
_this.decimalesAlternos = 0;
|
|
1577
1581
|
if (moneda) {
|
|
1578
1582
|
_this.codigo = moneda.codmon;
|
|
1579
1583
|
_this.denominacion = moneda.denmon;
|
|
@@ -1582,6 +1586,7 @@
|
|
|
1582
1586
|
_this.separadorMiles = moneda.separadormil;
|
|
1583
1587
|
_this.simbolo = moneda.simmon;
|
|
1584
1588
|
_this.decimales = parseInt(moneda.decimal);
|
|
1589
|
+
_this.decimalesAlternos = parseInt(moneda.decimal_alt);
|
|
1585
1590
|
}
|
|
1586
1591
|
return _this;
|
|
1587
1592
|
}
|
|
@@ -1593,7 +1598,8 @@
|
|
|
1593
1598
|
simmon: this.simbolo,
|
|
1594
1599
|
separadordec: this.separadorDecimal,
|
|
1595
1600
|
separadormil: this.separadorMiles,
|
|
1596
|
-
decimal: this.decimales.toString()
|
|
1601
|
+
decimal: this.decimales.toString(),
|
|
1602
|
+
decimal_alt: this.decimalesAlternos.toString(),
|
|
1597
1603
|
};
|
|
1598
1604
|
};
|
|
1599
1605
|
return MMonedaConfig;
|
|
@@ -1919,6 +1925,7 @@
|
|
|
1919
1925
|
this.nombresEstructuraPresupuestaria = [];
|
|
1920
1926
|
this.moneda = null;
|
|
1921
1927
|
this.codigoONAPRE = null;
|
|
1928
|
+
this.decimalesAlternos = 0;
|
|
1922
1929
|
this.cuentasPresupuestoCedentes = configuration.ctaspgced;
|
|
1923
1930
|
this.cunetasPresupuestoRecaudadores = configuration.ctaspgrec;
|
|
1924
1931
|
this.estatusAnticipoPresupuestario = configuration.estantspg;
|
|
@@ -1964,7 +1971,8 @@
|
|
|
1964
1971
|
separadordec: configuration.moneda_actual.separadordec,
|
|
1965
1972
|
separadormil: configuration.moneda_actual.separadormil,
|
|
1966
1973
|
simmon: configuration.moneda_actual.simmon,
|
|
1967
|
-
decimal: configuration.moneda_actual.decimal
|
|
1974
|
+
decimal: configuration.moneda_actual.decimal,
|
|
1975
|
+
decimal_alt: this.decimalesAlternos.toString(),
|
|
1968
1976
|
});
|
|
1969
1977
|
}
|
|
1970
1978
|
return MConfigurationSPG;
|
|
@@ -6349,8 +6357,8 @@
|
|
|
6349
6357
|
_this.codigoAlmacen = e.codalm;
|
|
6350
6358
|
_this.nombreAlmacen = e.nomfisalm;
|
|
6351
6359
|
_this.relacion = e.relacion;
|
|
6352
|
-
_this.existencia =
|
|
6353
|
-
_this.reservado =
|
|
6360
|
+
_this.existencia = +e.existencia;
|
|
6361
|
+
_this.reservado = +e.reservado;
|
|
6354
6362
|
}
|
|
6355
6363
|
else {
|
|
6356
6364
|
_this.isNew = true;
|