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.
@@ -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
- this.codigo = null;
1087
- this.denominacion = null;
1088
- this.codigoIso = null;
1089
- this.simbolo = null;
1090
- this.separadorDecimal = null;
1091
- this.separadorMiles = null;
1092
- this.decimales = null;
1093
- this.codigo = moneda.codmon;
1094
- this.denominacion = moneda.denmon;
1095
- this.codigoIso = moneda.codiso;
1096
- this.separadorDecimal = moneda.separadordec;
1097
- this.separadorMiles = moneda.separadormil;
1098
- this.simbolo = moneda.simmon;
1099
- this.decimales = parseInt(moneda.decimal);
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,