sigesp 1.0.10-20240526 → 1.0.12-20240620
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/esm2020/lib/core/interfaces/Constantes.mjs +2 -1
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MConfiguracionSNO.model.mjs +6 -3
- package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +13 -1
- package/fesm2015/sigesp.mjs +18 -2
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +18 -2
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/RecursosHumanos.d.ts +5 -0
- package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +1 -0
- package/lib/core/models/SNO/MPersonal.model.d.ts +4 -0
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -258,6 +258,7 @@ const TipoDefiniciones = [
|
|
|
258
258
|
{ value: "3", denominacion: 'Nivel de Selección' },
|
|
259
259
|
{ value: "4", denominacion: 'Profesiones' },
|
|
260
260
|
{ value: "16", denominacion: 'Permisos Personal' },
|
|
261
|
+
{ value: "17", denominacion: 'Rutas' },
|
|
261
262
|
{ value: "14", denominacion: 'Sindicato' },
|
|
262
263
|
{ value: "5", denominacion: 'Tipo de Accidentes' },
|
|
263
264
|
{ value: "6", denominacion: 'Tipo de Cobertura de Salud' },
|
|
@@ -4163,6 +4164,7 @@ class MConfiguracionSNO extends MBasicModel {
|
|
|
4163
4164
|
this.codigoConceptoVaccaiones = '';
|
|
4164
4165
|
this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios = 1;
|
|
4165
4166
|
this.cuentaContableProveedorBeneficiario = '';
|
|
4167
|
+
this.procesarSueldosHistoricos = 1;
|
|
4166
4168
|
if (I) {
|
|
4167
4169
|
this.idEnterprise = +I.id_enterprise;
|
|
4168
4170
|
this.idEmpresa = +I.id_empresa;
|
|
@@ -4293,6 +4295,7 @@ class MConfiguracionSNO extends MBasicModel {
|
|
|
4293
4295
|
this.registroLaboralIncidencia = I.reglabinc;
|
|
4294
4296
|
this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios = parseInt(I.incbenperautmodben);
|
|
4295
4297
|
this.cuentaContableProveedorBeneficiario = I.sc_cuentarecdoc;
|
|
4298
|
+
this.procesarSueldosHistoricos = +I.prosuehis;
|
|
4296
4299
|
}
|
|
4297
4300
|
else {
|
|
4298
4301
|
this.isNew = true;
|
|
@@ -4427,8 +4430,9 @@ class MConfiguracionSNO extends MBasicModel {
|
|
|
4427
4430
|
digcodcon: this.digitosCodigoConcepto.toString(),
|
|
4428
4431
|
regdesinc: this.registroDescansoIncidencia,
|
|
4429
4432
|
reglabinc: this.registroLaboralIncidencia,
|
|
4430
|
-
incbenperautmodben: this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios
|
|
4431
|
-
sc_cuentarecdoc: this.cuentaContableProveedorBeneficiario
|
|
4433
|
+
incbenperautmodben: this.incluirBeneficiarioDelPersonalAutomaticamenteModuloBeneficiarios.toString(),
|
|
4434
|
+
sc_cuentarecdoc: this.cuentaContableProveedorBeneficiario,
|
|
4435
|
+
prosuehis: this.procesarSueldosHistoricos.toString(),
|
|
4432
4436
|
};
|
|
4433
4437
|
}
|
|
4434
4438
|
}
|
|
@@ -5283,6 +5287,10 @@ class MPersonal extends MBasicModel {
|
|
|
5283
5287
|
this.idPermisoPersonal = 0;
|
|
5284
5288
|
this.codigoPermisoPersonal = '';
|
|
5285
5289
|
this.denominacionPermisoPersonal = '';
|
|
5290
|
+
this.idRuta = 0;
|
|
5291
|
+
this.denominacionRuta = '';
|
|
5292
|
+
this.centoVotacion = '';
|
|
5293
|
+
this.puntoReferencia = '';
|
|
5286
5294
|
if (p) {
|
|
5287
5295
|
this.idEnterprise = +p.id_enterprise;
|
|
5288
5296
|
this.idEmpresa = p.id_empresa;
|
|
@@ -5412,6 +5420,10 @@ class MPersonal extends MBasicModel {
|
|
|
5412
5420
|
this.idPermisoPersonal = +p.id_perper;
|
|
5413
5421
|
this.denominacionPermisoPersonal = p.denperper;
|
|
5414
5422
|
this.codigoPermisoPersonal = p.codperper;
|
|
5423
|
+
this.idRuta = +p.id_ruta;
|
|
5424
|
+
this.denominacionRuta = p.denrut;
|
|
5425
|
+
this.centoVotacion = p.cenvot;
|
|
5426
|
+
this.puntoReferencia = p.punref;
|
|
5415
5427
|
}
|
|
5416
5428
|
else {
|
|
5417
5429
|
this.isNew = true;
|
|
@@ -5529,6 +5541,10 @@ class MPersonal extends MBasicModel {
|
|
|
5529
5541
|
id_perper: this.idPermisoPersonal.toString(),
|
|
5530
5542
|
denperper: this.denominacionPermisoPersonal,
|
|
5531
5543
|
codperper: this.codigoPermisoPersonal,
|
|
5544
|
+
id_ruta: this.idRuta.toString(),
|
|
5545
|
+
denrut: this.denominacionRuta,
|
|
5546
|
+
cenvot: this.centoVotacion,
|
|
5547
|
+
punref: this.puntoReferencia,
|
|
5532
5548
|
};
|
|
5533
5549
|
}
|
|
5534
5550
|
}
|