sigesp 1.0.8-20240522 → 1.0.10-20240526
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 +7 -12
- package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +4 -2
- package/esm2020/lib/sigesp.service.mjs +7 -5
- package/fesm2015/sigesp.mjs +15 -16
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +15 -16
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/sigesp.service.d.ts +5 -3
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -569,7 +569,6 @@ const camposConstaciaTrabajo = [
|
|
|
569
569
|
{ denominacion: "APELLIDOS", valor: 'ApellidosPersonal' },
|
|
570
570
|
{ denominacion: "CEDULA", valor: 'CedulaPersonal' },
|
|
571
571
|
{ denominacion: "CÓDIGO CARGO", valor: 'CodigoCargo' },
|
|
572
|
-
{ denominacion: "COMPENSACIÓN", valor: 'Compensacion' },
|
|
573
572
|
{ denominacion: "DEDICACIÓN", valor: 'Dedicacion' },
|
|
574
573
|
{ denominacion: "DENOMINACIÓN DEL CARGO", valor: 'DenominacionCargo' },
|
|
575
574
|
{ denominacion: "DÍA", valor: 'Dia' },
|
|
@@ -577,9 +576,7 @@ const camposConstaciaTrabajo = [
|
|
|
577
576
|
{ denominacion: "EDO. CIVIL", valor: 'EdoCivil' },
|
|
578
577
|
{ denominacion: "ESTRUCTURA ORGANIZATIVA", valor: 'EstructuraOrganizativa' },
|
|
579
578
|
{ denominacion: "FECHA DE JUBILACIÓN", valor: 'FechaJubilacion' },
|
|
580
|
-
{ denominacion: "FECHA EGRESO INSTITUCIÓN", valor: 'FechaEgresoInstitucion' },
|
|
581
579
|
{ denominacion: "FECHA EGRESO INSTITUCIÓN (DD/MM/AAAA)", valor: 'FechaEgresoInstitucionddmmaaaa' },
|
|
582
|
-
{ denominacion: "FECHA INGRESO INSTITUCIÓN", valor: 'FechaIngresoInstitucion' },
|
|
583
580
|
{ denominacion: "FECHA INGRESO INSTITUCIÓN (DD/MM/AAAA)", valor: 'FechaIngresoInstitucionddmmaaaa' },
|
|
584
581
|
{ denominacion: "FECHA INGRESO NÓMINA", valor: 'FechaIngresoNomina' },
|
|
585
582
|
{ denominacion: "FECHA INGRESO NÓMINA (DD/MM/AAAA)", valor: 'FechaIngresoNominaddmmaaaa' },
|
|
@@ -590,15 +587,13 @@ const camposConstaciaTrabajo = [
|
|
|
590
587
|
{ denominacion: "NOMBRES", valor: 'NombresPersonal' },
|
|
591
588
|
{ denominacion: "RIF DEL EMPLEADO", valor: 'RifPersonal' },
|
|
592
589
|
{ denominacion: "SALARIO NORMAL", valor: 'SalarioNormal' },
|
|
593
|
-
{ denominacion: "SALARIO NORMAL
|
|
594
|
-
{ denominacion: "SUELDO", valor: '
|
|
590
|
+
{ denominacion: "SALARIO NORMAL LETRAS", valor: 'SalarioNormalLetras' },
|
|
591
|
+
{ denominacion: "SUELDO BASE", valor: 'SueldoBase' },
|
|
592
|
+
{ denominacion: "SUELDO BASE EN LETRAS", valor: 'SueldoBaseLetras' },
|
|
595
593
|
{ denominacion: "SUELDO INTEGRAL", valor: 'SueldoIntegral' },
|
|
596
|
-
{ denominacion: "SUELDO INTEGRAL
|
|
597
|
-
{ denominacion: "SUELDO
|
|
598
|
-
{ denominacion: "SUELDO
|
|
599
|
-
{ denominacion: "SUELDO PROMEDIO", valor: 'SueldoPromedio' },
|
|
600
|
-
{ denominacion: "SUELDO PROMEDIO MENSUAL", valor: 'SueldoPromedioMensual' },
|
|
601
|
-
{ denominacion: "SUMA CONCEPTO ASIGNACIÓN", valor: 'SumaConceptoAsignacion' },
|
|
594
|
+
{ denominacion: "SUELDO INTEGRAL EN LETRAS", valor: 'SueldoIntegralLetras' },
|
|
595
|
+
{ denominacion: "SUELDO VACACIONES ", valor: 'SueldoVacaciones' },
|
|
596
|
+
{ denominacion: "SUELDO VACACIONES LETRAS", valor: 'SueldoVacacionesLetras' },
|
|
602
597
|
{ denominacion: "TELÉFONO HABITACIÓN", valor: 'TelefonoHabitacion' },
|
|
603
598
|
{ denominacion: "TELÉFONO MÓVIL", valor: 'TelefonoMovil' },
|
|
604
599
|
{ denominacion: "TIPO NÓMINA", valor: 'TipoNomina' },
|
|
@@ -4675,7 +4670,9 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4675
4670
|
this.denominacionCuentaContable = e.denctacont;
|
|
4676
4671
|
this.nombreProveedor = e.nompro;
|
|
4677
4672
|
this.estatusIncidencia = parseInt(e.estincidencia);
|
|
4678
|
-
|
|
4673
|
+
if (e.periodos) {
|
|
4674
|
+
this.periodosNomina = e.periodos.map(e => new MPeriodoNomina(e));
|
|
4675
|
+
}
|
|
4679
4676
|
this.idPeriodoNomina = parseInt(e.id_periodoactual);
|
|
4680
4677
|
this.idPeriodoRestablecerNomina = parseInt(e.id_perresnom);
|
|
4681
4678
|
this.segmentarPersonal = parseInt(e.segper);
|
|
@@ -7880,16 +7877,18 @@ class SigespService {
|
|
|
7880
7877
|
}
|
|
7881
7878
|
/**
|
|
7882
7879
|
*
|
|
7883
|
-
* @param tipo ['default', 'uno', 'cargos'] dafault:Todas las nominas, uno: una nomina,
|
|
7884
|
-
*
|
|
7880
|
+
* @param tipo ['default', 'uno', 'cargos','linea'] dafault:Todas las nominas, uno: una nomina,
|
|
7881
|
+
* 'cargos': nominas por cargos, 'linea': nominas activas por lineas
|
|
7882
|
+
* @param id : Para los tipo: uno y cargos el id es idNomina. Para linea: id es el idEnterprise
|
|
7885
7883
|
* @returns array()
|
|
7886
7884
|
* @description Obtiene las nominas registradas
|
|
7887
7885
|
* @return Observable<IResponse>
|
|
7888
7886
|
* @date 20-10-21
|
|
7887
|
+
* @actualizado 26-05-2024
|
|
7889
7888
|
*
|
|
7890
7889
|
*/
|
|
7891
|
-
getNomina(tipo, id) {
|
|
7892
|
-
return this.http.get(`${this.URL}/dao/sno/definicion_nomina_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(
|
|
7890
|
+
getNomina(tipo, id, act) {
|
|
7891
|
+
return this.http.get(`${this.URL}/dao/sno/definicion_nomina_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7893
7892
|
if (res.success) {
|
|
7894
7893
|
res.data = res.data.map(e => new MDefinicionNomina(e));
|
|
7895
7894
|
}
|