sigesp 0.9.23-20221230 → 0.9.25-20230119

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.
@@ -460,6 +460,7 @@
460
460
  _this.cuentaPasivoDiferido = '';
461
461
  _this.cuentAnterior = '';
462
462
  _this.cuentSobrante = '';
463
+ _this.diaFechaVencimiento = 0;
463
464
  if (e) {
464
465
  _this.idEmpresa = +e.id_empresa;
465
466
  _this.idEnterprise = +e.id_enterprise;
@@ -478,6 +479,7 @@
478
479
  _this.cuentaPasivoDiferido = e.sc_cuenta_pasivo_diferido;
479
480
  _this.cuentAnterior = e.sc_cuenta_ant;
480
481
  _this.cuentSobrante = e.spi_cuenta_sobrante;
482
+ _this.diaFechaVencimiento = +e.diafecven;
481
483
  }
482
484
  else {
483
485
  _this.isNew = true;
@@ -502,7 +504,8 @@
502
504
  sc_cuenta_perdida: this.cuentaPerdida,
503
505
  sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
504
506
  sc_cuenta_ant: this.cuentAnterior,
505
- spi_cuenta_sobrante: this.cuentSobrante
507
+ spi_cuenta_sobrante: this.cuentSobrante,
508
+ diafecven: this.diaFechaVencimiento.toString(),
506
509
  };
507
510
  };
508
511
  return MEnterprise;
@@ -3222,22 +3225,43 @@
3222
3225
  __extends(MAdministrativeUnit, _super);
3223
3226
  function MAdministrativeUnit(unidad) {
3224
3227
  var _this = _super.call(this) || this;
3225
- _this.id_empresa = null;
3226
- _this.codigo = null;
3228
+ _this.idEmpresa = 0;
3229
+ _this.idEnterprise = 0;
3230
+ _this.codigo = 0;
3227
3231
  _this.denominacion = '';
3228
- _this.unidadcentral = null;
3229
- _this.emitereq = null;
3230
- _this.centrocosto = '';
3231
- _this.id = null;
3232
- _this.id_empresa = unidad.id_empresa;
3233
- _this.codigo = unidad.coduniadm;
3234
- _this.denominacion = unidad.denuniadm;
3235
- _this.unidadcentral = unidad.coduac;
3236
- _this.emitereq = unidad.estemireq;
3237
- _this.centrocosto = unidad.codcencos;
3238
- _this.id = parseInt(unidad.id_uniadm);
3232
+ _this.unidadCentral = 0;
3233
+ _this.emiteRequisicion = 0;
3234
+ _this.centroCosto = '';
3235
+ _this.id = 0;
3236
+ _this.denominacionUnidadCentral = '';
3237
+ if (unidad) {
3238
+ _this.idEmpresa = unidad.id_empresa;
3239
+ _this.idEnterprise = unidad.id_enterprise;
3240
+ _this.codigo = unidad.coduniadm;
3241
+ _this.denominacion = unidad.denuniadm;
3242
+ _this.unidadCentral = unidad.coduac;
3243
+ _this.emiteRequisicion = unidad.estemireq;
3244
+ _this.centroCosto = unidad.codcencos;
3245
+ _this.id = unidad.id_uniadm;
3246
+ _this.denominacionUnidadCentral = unidad.denuac;
3247
+ }
3248
+ else {
3249
+ _this.isNew = true;
3250
+ }
3239
3251
  return _this;
3240
3252
  }
3253
+ MAdministrativeUnit.prototype.dataInterface = function () {
3254
+ return {
3255
+ id_empresa: this.idEmpresa,
3256
+ id_enterprise: this.idEnterprise,
3257
+ coduniadm: this.codigo,
3258
+ coduac: this.unidadCentral,
3259
+ denuniadm: this.denominacion,
3260
+ estemireq: this.emiteRequisicion,
3261
+ codcencos: this.centroCosto,
3262
+ id_uniadm: this.id,
3263
+ };
3264
+ };
3241
3265
  return MAdministrativeUnit;
3242
3266
  }(MBasicModel));
3243
3267
 
@@ -11692,8 +11716,8 @@
11692
11716
  _this.idEnterprise = 0;
11693
11717
  _this.idEmpresa = 0;
11694
11718
  _this.idTabulador = 0;
11695
- _this.codigoGrado = 0;
11696
- _this.codigoPaso = 0;
11719
+ _this.codigoGrado = '';
11720
+ _this.codigoPaso = '';
11697
11721
  _this.montoSalario = 0;
11698
11722
  _this.montoCompensacion = 0;
11699
11723
  _this.yearDesde = 0;
@@ -11704,8 +11728,8 @@
11704
11728
  _this.idEnterprise = +e.id_enterprise;
11705
11729
  _this.idEmpresa = +e.id_empresa;
11706
11730
  _this.idTabulador = parseInt(e.id_tabulador);
11707
- _this.codigoGrado = parseInt(e.codgra);
11708
- _this.codigoPaso = parseInt(e.codpas);
11731
+ _this.codigoGrado = e.codgra;
11732
+ _this.codigoPaso = e.codpas;
11709
11733
  _this.montoSalario = parseFloat(e.monsalgra);
11710
11734
  _this.montoCompensacion = parseFloat(e.moncomgra);
11711
11735
  _this.yearDesde = parseInt(e.aniodes);