sigesp 0.8.66-220126 → 0.8.67-220127
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.
- package/bundles/sigesp.umd.js +16 -6
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Nomina.js +1 -1
- package/esm2015/lib/core/models/SNO/MPersonalNomina.model.js +16 -6
- package/esm2015/lib/core/models/user.model.js +2 -2
- package/fesm2015/sigesp.js +16 -6
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +1 -0
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +1 -1
- package/lib/core/models/user.model.d.ts +1 -1
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -430,10 +430,10 @@
|
|
|
430
430
|
_this.horaAdicional2 = 0;
|
|
431
431
|
_this.estatusMPPPE = false;
|
|
432
432
|
_this.montoSaldoGrado = 0;
|
|
433
|
-
_this.salarioPersonal = 0;
|
|
434
433
|
_this.apellidoPersonal = '';
|
|
435
434
|
_this.denominacionEstatus = '';
|
|
436
435
|
_this.nombreCompleto = '';
|
|
436
|
+
_this.nominaRac = 0;
|
|
437
437
|
if (e) {
|
|
438
438
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
439
439
|
_this.idPersonalNomina = parseInt(e.id_personalnomina);
|
|
@@ -508,13 +508,18 @@
|
|
|
508
508
|
_this.horaAdicional2 = parseFloat(e.horadi2);
|
|
509
509
|
_this.estatusMPPPE = e.estmpppe == '1' ? true : false;
|
|
510
510
|
_this.montoSaldoGrado = parseFloat(e.monsalgra);
|
|
511
|
-
_this.montoSaldoGrado = parseFloat(e.monsalgra);
|
|
512
511
|
_this.denominacionEstatus = e.staper == '1' ? 'ACTIVO' :
|
|
513
512
|
_this.denominacionEstatus = e.staper == '2' ? 'VACACIONES' :
|
|
514
513
|
_this.denominacionEstatus = e.staper == '3' ? 'EGRESADO' : 'SUSPENDIDO';
|
|
515
514
|
_this.apellidoPersonal = e.apeper;
|
|
516
515
|
_this.nombreCompleto = _this.nombrePersonal + ' ' + _this.apellidoPersonal;
|
|
517
|
-
|
|
516
|
+
_this.nominaRac = parseInt(e.racnom);
|
|
517
|
+
if (_this.nominaRac == 0) {
|
|
518
|
+
_this.idTabulador = 0;
|
|
519
|
+
_this.codigoPaso = '0';
|
|
520
|
+
_this.codigoGrado = '0';
|
|
521
|
+
}
|
|
522
|
+
if (_this.idTabulador > 0 && _this.nominaRac == 1) {
|
|
518
523
|
_this.sueldoPersonal = _this.montoSaldoGrado;
|
|
519
524
|
}
|
|
520
525
|
if (_this.idAgencia > 0) {
|
|
@@ -534,8 +539,13 @@
|
|
|
534
539
|
return _this;
|
|
535
540
|
}
|
|
536
541
|
MPersonalNomina.prototype.dataInterface = function () {
|
|
537
|
-
if (this.idTabulador > 0) {
|
|
538
|
-
this.sueldoPersonal = this.
|
|
542
|
+
if (this.idTabulador > 0 && this.nominaRac == 1) {
|
|
543
|
+
this.sueldoPersonal = this.montoSaldoGrado;
|
|
544
|
+
}
|
|
545
|
+
else {
|
|
546
|
+
this.idTabulador = 0;
|
|
547
|
+
this.codigoPaso = '0';
|
|
548
|
+
this.codigoGrado = '0';
|
|
539
549
|
}
|
|
540
550
|
return {
|
|
541
551
|
id_empresa: this.idEmpresa.toString(),
|
|
@@ -708,7 +718,7 @@
|
|
|
708
718
|
this.id = parseInt(user.id_usuario);
|
|
709
719
|
this.interface = user;
|
|
710
720
|
this.nomina = parseInt(user.nomina);
|
|
711
|
-
this.
|
|
721
|
+
this.periodo = parseInt(user.periodo);
|
|
712
722
|
}
|
|
713
723
|
MUsuario.prototype.getInterface = function () {
|
|
714
724
|
return this.interface;
|