sigesp 0.8.70-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.
@@ -434,7 +434,7 @@
434
434
  _this.denominacionEstatus = '';
435
435
  _this.nombreCompleto = '';
436
436
  _this.nominaRac = 0;
437
- _this.estatausPersonal = '';
437
+ _this.situacionPersonal = '';
438
438
  _this.montoPension = 0;
439
439
  if (e) {
440
440
  _this.idEmpresa = parseInt(e.id_empresa);
@@ -515,7 +515,7 @@
515
515
  _this.denominacionEstatus = e.staper == '3' ? 'EGRESADO' : 'SUSPENDIDO';
516
516
  _this.apellidoPersonal = e.apeper;
517
517
  _this.nombreCompleto = _this.nombrePersonal + ' ' + _this.apellidoPersonal;
518
- _this.estatausPersonal = e.estper;
518
+ _this.situacionPersonal = e.situacion;
519
519
  _this.montoPension = +e.monpen;
520
520
  _this.nominaRac = parseInt(e.racnom);
521
521
  if (_this.nominaRac == 0) {
@@ -526,7 +526,7 @@
526
526
  if (_this.idTabulador >= 0 && _this.nominaRac == 1) {
527
527
  _this.sueldoPersonal = _this.montoSaldoGrado;
528
528
  }
529
- if (_this.estatausPersonal == '2') {
529
+ if (_this.situacionPersonal == 'J') {
530
530
  _this.sueldoPersonal = _this.montoPension;
531
531
  }
532
532
  if (_this.idAgencia > 0) {
@@ -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
  };
@@ -4193,6 +4194,7 @@
4193
4194
  _this.nombreEstadoNacimiento = '';
4194
4195
  _this.codigoProfesion = '';
4195
4196
  _this.denominacionProfesion = '';
4197
+ _this.montoPension = 0;
4196
4198
  if (p) {
4197
4199
  _this.idEmpresa = +p.id_empresa;
4198
4200
  _this.idPersonal = +p.id_personal;
@@ -4305,6 +4307,7 @@
4305
4307
  _this.nombrePaisNacimiento = p.despai_nac;
4306
4308
  _this.codigoProfesion = p.codpro;
4307
4309
  _this.denominacionProfesion = p.denpro;
4310
+ _this.montoPension = +p.monpen;
4308
4311
  }
4309
4312
  else {
4310
4313
  _this.isNew = true;
@@ -10311,6 +10314,7 @@
10311
10314
  exports.MComprobantePresupuestarioEgresos = MComprobantePresupuestarioEgresos;
10312
10315
  exports.MComprobantePresupuestarioIngresos = MComprobantePresupuestarioIngresos;
10313
10316
  exports.MComunidad = MComunidad;
10317
+ exports.MConceptoRetencion = MConceptoRetencion;
10314
10318
  exports.MConceptoVacaciones = MConceptoVacaciones;
10315
10319
  exports.MConceptosCXP = MConceptosCXP;
10316
10320
  exports.MConceptosNomina = MConceptosNomina;