sigesp 0.8.77-20220510 → 0.8.80-20220511
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 +14 -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/MConceptosNomina.model.js +3 -3
- package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +7 -1
- package/esm2015/lib/core/models/SNO/MPersonalNomina.model.js +3 -1
- package/esm2015/lib/sigesp.service.js +5 -5
- package/esm2015/public-api.js +1 -1
- package/fesm2015/sigesp.js +14 -6
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +4 -0
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +3 -0
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -436,6 +436,7 @@
|
|
|
436
436
|
_this.nominaRac = 0;
|
|
437
437
|
_this.situacionPersonal = '';
|
|
438
438
|
_this.montoPension = 0;
|
|
439
|
+
_this.nacionalidad = '';
|
|
439
440
|
if (e) {
|
|
440
441
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
441
442
|
_this.idPersonalNomina = parseInt(e.id_personalnomina);
|
|
@@ -479,6 +480,7 @@
|
|
|
479
480
|
_this.codigoUsuario = e.codusu;
|
|
480
481
|
_this.nombrePersonal = e.nomper;
|
|
481
482
|
_this.codigoPersonal = e.codper;
|
|
483
|
+
_this.nacionalidad = e.nacper.toUpperCase();
|
|
482
484
|
_this.cedulaPersonal = e.cedper;
|
|
483
485
|
_this.codigoTablaVacaciones = e.codtabvac;
|
|
484
486
|
_this.denominacionTablaVacaciones = e.dentabvac;
|
|
@@ -3990,6 +3992,9 @@
|
|
|
3990
3992
|
_this.descripcionPeriodoNomina = '';
|
|
3991
3993
|
_this.periodoActualNomina = '';
|
|
3992
3994
|
_this.editable = false;
|
|
3995
|
+
_this.idOrganigrama = 0;
|
|
3996
|
+
_this.codigoEstructuraOrganizativa = '';
|
|
3997
|
+
_this.denominacionEstructuraOrganizativa = '';
|
|
3993
3998
|
if (e) {
|
|
3994
3999
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
3995
4000
|
_this.idNomina = parseInt(e.id_nomina);
|
|
@@ -4017,6 +4022,9 @@
|
|
|
4017
4022
|
_this.denominacionEstatuspersonal = "SUSPENDIDO";
|
|
4018
4023
|
_this.descripcionPeriodoNomina = e.despernom;
|
|
4019
4024
|
_this.periodoActualNomina = e.peractnom;
|
|
4025
|
+
_this.idOrganigrama = +e.id_organigrama;
|
|
4026
|
+
_this.codigoEstructuraOrganizativa = e.codestorg;
|
|
4027
|
+
_this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
4020
4028
|
}
|
|
4021
4029
|
else {
|
|
4022
4030
|
_this.isNew = false;
|
|
@@ -6543,7 +6551,7 @@
|
|
|
6543
6551
|
*
|
|
6544
6552
|
*/
|
|
6545
6553
|
SigespService.prototype.getNomina = function (tipo, id) {
|
|
6546
|
-
return this.http.get(this.URL + "/dao/sno/definicion_nomina_dao.php?tipo=" + tipo + "
|
|
6554
|
+
return this.http.get(this.URL + "/dao/sno/definicion_nomina_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
6547
6555
|
if (res.success) {
|
|
6548
6556
|
res.data = res.data.map(function (e) { return new MDefinicionNomina(e); });
|
|
6549
6557
|
}
|
|
@@ -6557,7 +6565,7 @@
|
|
|
6557
6565
|
* @returns array()
|
|
6558
6566
|
*/
|
|
6559
6567
|
SigespService.prototype.getCargosNomina = function (tipo, id) {
|
|
6560
|
-
return this.http.get(this.URL + "/dao/sno/asignacion_cargos_dao.php?tipo=" + tipo + "
|
|
6568
|
+
return this.http.get(this.URL + "/dao/sno/asignacion_cargos_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
6561
6569
|
if (res.success) {
|
|
6562
6570
|
res.data = res.data.map(function (e) { return new MAsignacionCargo(e); });
|
|
6563
6571
|
}
|
|
@@ -6570,7 +6578,7 @@
|
|
|
6570
6578
|
* @author Dimaly Crespo
|
|
6571
6579
|
*/
|
|
6572
6580
|
SigespService.prototype.getPersonalSRH = function (tipo, id) {
|
|
6573
|
-
return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "
|
|
6581
|
+
return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
6574
6582
|
if (res.success) {
|
|
6575
6583
|
res.data = res.data.map(function (e) { return new MPersonal(e); });
|
|
6576
6584
|
}
|
|
@@ -6583,7 +6591,7 @@
|
|
|
6583
6591
|
* @author Dimaly Crespo
|
|
6584
6592
|
*/
|
|
6585
6593
|
SigespService.prototype.getAgenciaBanco = function (tipo, id) {
|
|
6586
|
-
return this.http.get(this.URL + "/dao/scb/agencia_dao.php?code=" + tipo + "
|
|
6594
|
+
return this.http.get(this.URL + "/dao/scb/agencia_dao.php?code=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
6587
6595
|
if (res.success) {
|
|
6588
6596
|
res.data = res.data.map(function (e) { return new MAgenciaBanco(e); });
|
|
6589
6597
|
}
|
|
@@ -8351,10 +8359,10 @@
|
|
|
8351
8359
|
_this.formulaIncidencia = e.forincidencia;
|
|
8352
8360
|
_this.orden = parseInt(e.orden);
|
|
8353
8361
|
if (e.forcon.length > 40) {
|
|
8354
|
-
_this.formulaReducida = e.forcon.
|
|
8362
|
+
_this.formulaReducida = e.forcon.substring(0, 40) + '...';
|
|
8355
8363
|
}
|
|
8356
8364
|
else {
|
|
8357
|
-
_this.formulaReducida = e.forcon.
|
|
8365
|
+
_this.formulaReducida = e.forcon.substring(0, 40);
|
|
8358
8366
|
}
|
|
8359
8367
|
_this.nombreSigno = _this.denominacionSigno(_this.signoConcepto);
|
|
8360
8368
|
_this.evaluarEnPrenomina = +e.evaprenom;
|