sigesp 0.8.72-220304 → 0.8.73-220307

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.
@@ -3359,7 +3359,6 @@
3359
3359
  _this.registroasistenciaincidencia = I.regasiinc;
3360
3360
  _this.manejoIndependienteModulo = parseInt(I.manindmod);
3361
3361
  _this.digitosCodigoConcepto = parseInt(I.digcodcon);
3362
- _this.segmentarPersonal = parseInt(I.segper);
3363
3362
  }
3364
3363
  else {
3365
3364
  _this.isNew = true;
@@ -3367,9 +3366,6 @@
3367
3366
  return _this;
3368
3367
  }
3369
3368
  MConfiguracionSNO.prototype.dataInterface = function () {
3370
- if (this.segmentarPersonal == 0) {
3371
- this.segmentarPersonal = 10000;
3372
- }
3373
3369
  return {
3374
3370
  id_empresa: this.idEmpresa.toString(),
3375
3371
  id_sno: this.idNomina.toString(),
@@ -3495,7 +3491,6 @@
3495
3491
  regasiinc: this.registroasistenciaincidencia,
3496
3492
  manindmod: this.manejoIndependienteModulo.toString(),
3497
3493
  digcodcon: this.digitosCodigoConcepto.toString(),
3498
- segper: this.segmentarPersonal.toString(),
3499
3494
  };
3500
3495
  };
3501
3496
  return MConfiguracionSNO;
@@ -3676,6 +3671,7 @@
3676
3671
  _this.idPeriodoNomina = 0;
3677
3672
  _this.idPeriodoRestablecerNomina = 0;
3678
3673
  _this.estatusIncidencia = 0;
3674
+ _this.segmentarPersonal = 3000;
3679
3675
  _this.periodosNomina = [];
3680
3676
  if (e) {
3681
3677
  _this.idEmpresa = parseInt(e.id_empresa);
@@ -3741,6 +3737,7 @@
3741
3737
  _this.periodosNomina = e.periodos.map(function (e) { return new MPeriodoNomina(e); });
3742
3738
  _this.idPeriodoNomina = parseInt(e.id_periodoactual);
3743
3739
  _this.idPeriodoRestablecerNomina = parseInt(e.id_perresnom);
3740
+ _this.segmentarPersonal = parseInt(e.segper);
3744
3741
  }
3745
3742
  else {
3746
3743
  _this.isNew = true;
@@ -3749,6 +3746,9 @@
3749
3746
  }
3750
3747
  MDefinicionNomina.prototype.dataInterface = function () {
3751
3748
  this.getPeriodoNomina();
3749
+ if (this.segmentarPersonal == 0) {
3750
+ this.segmentarPersonal = 10000;
3751
+ }
3752
3752
  return {
3753
3753
  id_empresa: this.idEmpresa.toString(),
3754
3754
  id_nomina: this.idNomina.toString(),
@@ -3814,6 +3814,7 @@
3814
3814
  id_periodoactual: this.idPeriodoNomina.toString(),
3815
3815
  id_perresnom: this.idPeriodoRestablecerNomina.toString(),
3816
3816
  estincidencia: this.estatusIncidencia.toString(),
3817
+ segper: this.segmentarPersonal.toString(),
3817
3818
  periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
3818
3819
  };
3819
3820
  };