sigesp 0.9.38-20230223 → 0.9.39-20230321

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.
@@ -8118,7 +8118,7 @@
8118
8118
  CurrencyService.prototype.returnNumber = function (event, decimal, thousands, amountDecimals) {
8119
8119
  if (decimal === void 0) { decimal = ','; }
8120
8120
  if (thousands === void 0) { thousands = '.'; }
8121
- if (amountDecimals === void 0) { amountDecimals = 5; }
8121
+ if (amountDecimals === void 0) { amountDecimals = 6; }
8122
8122
  if (!decimal || decimal.trim() == '') {
8123
8123
  decimal = ',';
8124
8124
  }
@@ -8131,7 +8131,7 @@
8131
8131
  if (number.trim() == '') {
8132
8132
  number = '0';
8133
8133
  }
8134
- return +((+number).toFixed(amountDecimals));
8134
+ return +((+number));
8135
8135
  };
8136
8136
  CurrencyService.prototype.validateCurrency = function (e, number, decimal, decimalAmount) {
8137
8137
  if (decimal === void 0) { decimal = ','; }
@@ -9548,6 +9548,9 @@
9548
9548
  _this.orden = 0;
9549
9549
  _this.evaluarEnPrenomina = 0;
9550
9550
  _this.antiguedadComplementaria = 0;
9551
+ _this.idUnidadAdministrativa = 0;
9552
+ _this.codigoUnidadAdministrativa = '';
9553
+ _this.denominacionUnidadAdministraiva = '';
9551
9554
  if (e) {
9552
9555
  _this.idEnterprise = +e.id_enterprise;
9553
9556
  _this.idEmpresa = +e.id_empresa;
@@ -9623,6 +9626,9 @@
9623
9626
  else {
9624
9627
  _this.isNew = true;
9625
9628
  }
9629
+ _this.idUnidadAdministrativa = +e.id_uniadm;
9630
+ _this.codigoUnidadAdministrativa = e.coduniadm;
9631
+ _this.denominacionUnidadAdministraiva = e.denuniadm;
9626
9632
  return _this;
9627
9633
  }
9628
9634
  MConceptosNomina.prototype.dataInterface = function () {
@@ -9690,6 +9696,7 @@
9690
9696
  orden: this.orden.toString(),
9691
9697
  evaprenom: this.evaluarEnPrenomina.toString(),
9692
9698
  antigcomp: this.antiguedadComplementaria.toString(),
9699
+ id_uniadm: this.idUnidadAdministrativa.toString(),
9693
9700
  };
9694
9701
  };
9695
9702
  MConceptosNomina.prototype.denominacionSigno = function (sig) {
@@ -10995,6 +11002,9 @@
10995
11002
  _this.ubicacionRobinson = 0;
10996
11003
  _this.ubicacionZona = 0;
10997
11004
  _this.ubicacionNoAplica = 0;
11005
+ _this.idUnidadAdministrativa = 0;
11006
+ _this.codigoUnidadAdministrativa = '';
11007
+ _this.denominacionUnidadAdministraiva = '';
10998
11008
  if (e) {
10999
11009
  _this.idEnterprise = +e.id_enterprise;
11000
11010
  _this.idEmpresa = +e.id_empresa;
@@ -11029,6 +11039,9 @@
11029
11039
  _this.ubicacionRobinson = e.ubirobinson;
11030
11040
  _this.ubicacionZona = e.ubizona;
11031
11041
  _this.ubicacionNoAplica = e.ubinoaplica;
11042
+ _this.idUnidadAdministrativa = +e.id_uniadm;
11043
+ _this.codigoUnidadAdministrativa = e.coduniadm;
11044
+ _this.denominacionUnidadAdministraiva = e.denuniadm;
11032
11045
  }
11033
11046
  return _this;
11034
11047
  }
@@ -11066,7 +11079,8 @@
11066
11079
  ubiplanta: this.ubicacionPlanta,
11067
11080
  ubirobinson: this.ubicacionRobinson,
11068
11081
  ubizona: this.ubicacionZona,
11069
- ubinoaplica: this.ubicacionNoAplica
11082
+ ubinoaplica: this.ubicacionNoAplica,
11083
+ id_uniadm: this.idUnidadAdministrativa.toString(),
11070
11084
  };
11071
11085
  };
11072
11086
  return MEstructuraOrganizativa;