sigesp 0.9.13-20221217 → 0.9.14-20221218
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 +35 -16
- 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/Configuracion.js +1 -1
- package/esm2015/lib/core/interfaces/Moneda.js +1 -1
- package/esm2015/lib/core/models/CFG/TasaCambio.model.js +4 -1
- package/esm2015/lib/core/models/CFG/moneda.model.js +42 -0
- package/esm2015/lib/core/models/SPG/configurationSPG.model.js +2 -2
- package/esm2015/lib/sigesp.service.js +2 -2
- package/esm2015/lib/validation.service.js +1 -1
- package/esm2015/public-api.js +2 -2
- package/fesm2015/sigesp.js +31 -14
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Configuracion.d.ts +1 -0
- package/lib/core/models/CFG/TasaCambio.model.d.ts +1 -0
- package/lib/core/models/{STB → CFG}/moneda.model.d.ts +4 -2
- package/lib/core/models/SPG/configurationSPG.model.d.ts +1 -1
- package/lib/sigesp.service.d.ts +1 -1
- package/lib/validation.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/sigesp.metadata.json +1 -1
- package/esm2015/lib/core/models/STB/moneda.model.js +0 -27
package/bundles/sigesp.umd.js
CHANGED
|
@@ -1081,25 +1081,41 @@
|
|
|
1081
1081
|
}
|
|
1082
1082
|
return MMoneda;
|
|
1083
1083
|
}());
|
|
1084
|
-
var MMonedaConfig = /** @class */ (function () {
|
|
1084
|
+
var MMonedaConfig = /** @class */ (function (_super) {
|
|
1085
|
+
__extends(MMonedaConfig, _super);
|
|
1085
1086
|
function MMonedaConfig(moneda) {
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1087
|
+
var _this = _super.call(this) || this;
|
|
1088
|
+
_this.codigo = null;
|
|
1089
|
+
_this.denominacion = '';
|
|
1090
|
+
_this.codigoIso = '';
|
|
1091
|
+
_this.simbolo = '';
|
|
1092
|
+
_this.separadorDecimal = '';
|
|
1093
|
+
_this.separadorMiles = '';
|
|
1094
|
+
_this.decimales = 0;
|
|
1095
|
+
if (moneda) {
|
|
1096
|
+
_this.codigo = moneda.codmon;
|
|
1097
|
+
_this.denominacion = moneda.denmon;
|
|
1098
|
+
_this.codigoIso = moneda.codiso;
|
|
1099
|
+
_this.separadorDecimal = moneda.separadordec;
|
|
1100
|
+
_this.separadorMiles = moneda.separadormil;
|
|
1101
|
+
_this.simbolo = moneda.simmon;
|
|
1102
|
+
_this.decimales = parseInt(moneda.decimal);
|
|
1103
|
+
}
|
|
1104
|
+
return _this;
|
|
1100
1105
|
}
|
|
1106
|
+
MMonedaConfig.prototype.dataInterface = function () {
|
|
1107
|
+
return {
|
|
1108
|
+
codmon: this.codigo,
|
|
1109
|
+
denmon: this.denominacion,
|
|
1110
|
+
codiso: this.codigoIso,
|
|
1111
|
+
simmon: this.simbolo,
|
|
1112
|
+
separadordec: this.separadorDecimal,
|
|
1113
|
+
separadormil: this.separadorMiles,
|
|
1114
|
+
decimal: this.decimales.toString()
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1101
1117
|
return MMonedaConfig;
|
|
1102
|
-
}());
|
|
1118
|
+
}(MBasicModel));
|
|
1103
1119
|
|
|
1104
1120
|
var MUnidadTributaria = /** @class */ (function () {
|
|
1105
1121
|
function MUnidadTributaria(unidad) {
|
|
@@ -5932,7 +5948,9 @@
|
|
|
5932
5948
|
_this.fechaHasta = '1900-01-01';
|
|
5933
5949
|
_this.montoTasa = 0;
|
|
5934
5950
|
_this.denominacionMoneda = '';
|
|
5951
|
+
_this.idTasaCambio = 0;
|
|
5935
5952
|
if (e) {
|
|
5953
|
+
_this.idTasaCambio = +e.id_tascam;
|
|
5936
5954
|
_this.codigoMoneda = +e.codmon;
|
|
5937
5955
|
_this.fechaDesde = e.fectasdes;
|
|
5938
5956
|
_this.horaCambioTasa = e.horcamtas;
|
|
@@ -5947,6 +5965,7 @@
|
|
|
5947
5965
|
}
|
|
5948
5966
|
MExchangeRate.prototype.dataInterface = function () {
|
|
5949
5967
|
return {
|
|
5968
|
+
id_tascam: this.idTasaCambio.toString(),
|
|
5950
5969
|
codmon: this.codigoMoneda.toString(),
|
|
5951
5970
|
fectasdes: this.fechaDesde,
|
|
5952
5971
|
horcamtas: this.horaCambioTasa,
|