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/fesm2015/sigesp.mjs
CHANGED
|
@@ -570,7 +570,6 @@ const camposConstaciaTrabajo = [
|
|
|
570
570
|
{ denominacion: "APELLIDOS", valor: 'ApellidosPersonal' },
|
|
571
571
|
{ denominacion: "CEDULA", valor: 'CedulaPersonal' },
|
|
572
572
|
{ denominacion: "CÓDIGO CARGO", valor: 'CodigoCargo' },
|
|
573
|
-
{ denominacion: "COMPENSACIÓN", valor: 'Compensacion' },
|
|
574
573
|
{ denominacion: "DEDICACIÓN", valor: 'Dedicacion' },
|
|
575
574
|
{ denominacion: "DENOMINACIÓN DEL CARGO", valor: 'DenominacionCargo' },
|
|
576
575
|
{ denominacion: "DÍA", valor: 'Dia' },
|
|
@@ -578,9 +577,7 @@ const camposConstaciaTrabajo = [
|
|
|
578
577
|
{ denominacion: "EDO. CIVIL", valor: 'EdoCivil' },
|
|
579
578
|
{ denominacion: "ESTRUCTURA ORGANIZATIVA", valor: 'EstructuraOrganizativa' },
|
|
580
579
|
{ denominacion: "FECHA DE JUBILACIÓN", valor: 'FechaJubilacion' },
|
|
581
|
-
{ denominacion: "FECHA EGRESO INSTITUCIÓN", valor: 'FechaEgresoInstitucion' },
|
|
582
580
|
{ denominacion: "FECHA EGRESO INSTITUCIÓN (DD/MM/AAAA)", valor: 'FechaEgresoInstitucionddmmaaaa' },
|
|
583
|
-
{ denominacion: "FECHA INGRESO INSTITUCIÓN", valor: 'FechaIngresoInstitucion' },
|
|
584
581
|
{ denominacion: "FECHA INGRESO INSTITUCIÓN (DD/MM/AAAA)", valor: 'FechaIngresoInstitucionddmmaaaa' },
|
|
585
582
|
{ denominacion: "FECHA INGRESO NÓMINA", valor: 'FechaIngresoNomina' },
|
|
586
583
|
{ denominacion: "FECHA INGRESO NÓMINA (DD/MM/AAAA)", valor: 'FechaIngresoNominaddmmaaaa' },
|
|
@@ -591,15 +588,13 @@ const camposConstaciaTrabajo = [
|
|
|
591
588
|
{ denominacion: "NOMBRES", valor: 'NombresPersonal' },
|
|
592
589
|
{ denominacion: "RIF DEL EMPLEADO", valor: 'RifPersonal' },
|
|
593
590
|
{ denominacion: "SALARIO NORMAL", valor: 'SalarioNormal' },
|
|
594
|
-
{ denominacion: "SALARIO NORMAL
|
|
595
|
-
{ denominacion: "SUELDO", valor: '
|
|
591
|
+
{ denominacion: "SALARIO NORMAL LETRAS", valor: 'SalarioNormalLetras' },
|
|
592
|
+
{ denominacion: "SUELDO BASE", valor: 'SueldoBase' },
|
|
593
|
+
{ denominacion: "SUELDO BASE EN LETRAS", valor: 'SueldoBaseLetras' },
|
|
596
594
|
{ denominacion: "SUELDO INTEGRAL", valor: 'SueldoIntegral' },
|
|
597
|
-
{ denominacion: "SUELDO INTEGRAL
|
|
598
|
-
{ denominacion: "SUELDO
|
|
599
|
-
{ denominacion: "SUELDO
|
|
600
|
-
{ denominacion: "SUELDO PROMEDIO", valor: 'SueldoPromedio' },
|
|
601
|
-
{ denominacion: "SUELDO PROMEDIO MENSUAL", valor: 'SueldoPromedioMensual' },
|
|
602
|
-
{ denominacion: "SUMA CONCEPTO ASIGNACIÓN", valor: 'SumaConceptoAsignacion' },
|
|
595
|
+
{ denominacion: "SUELDO INTEGRAL EN LETRAS", valor: 'SueldoIntegralLetras' },
|
|
596
|
+
{ denominacion: "SUELDO VACACIONES ", valor: 'SueldoVacaciones' },
|
|
597
|
+
{ denominacion: "SUELDO VACACIONES LETRAS", valor: 'SueldoVacacionesLetras' },
|
|
603
598
|
{ denominacion: "TELÉFONO HABITACIÓN", valor: 'TelefonoHabitacion' },
|
|
604
599
|
{ denominacion: "TELÉFONO MÓVIL", valor: 'TelefonoMovil' },
|
|
605
600
|
{ denominacion: "TIPO NÓMINA", valor: 'TipoNomina' },
|
|
@@ -4686,7 +4681,9 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
4686
4681
|
this.denominacionCuentaContable = e.denctacont;
|
|
4687
4682
|
this.nombreProveedor = e.nompro;
|
|
4688
4683
|
this.estatusIncidencia = parseInt(e.estincidencia);
|
|
4689
|
-
|
|
4684
|
+
if (e.periodos) {
|
|
4685
|
+
this.periodosNomina = e.periodos.map(e => new MPeriodoNomina(e));
|
|
4686
|
+
}
|
|
4690
4687
|
this.idPeriodoNomina = parseInt(e.id_periodoactual);
|
|
4691
4688
|
this.idPeriodoRestablecerNomina = parseInt(e.id_perresnom);
|
|
4692
4689
|
this.segmentarPersonal = parseInt(e.segper);
|
|
@@ -7917,16 +7914,18 @@ class SigespService {
|
|
|
7917
7914
|
}
|
|
7918
7915
|
/**
|
|
7919
7916
|
*
|
|
7920
|
-
* @param tipo ['default', 'uno', 'cargos'] dafault:Todas las nominas, uno: una nomina,
|
|
7921
|
-
*
|
|
7917
|
+
* @param tipo ['default', 'uno', 'cargos','linea'] dafault:Todas las nominas, uno: una nomina,
|
|
7918
|
+
* 'cargos': nominas por cargos, 'linea': nominas activas por lineas
|
|
7919
|
+
* @param id : Para los tipo: uno y cargos el id es idNomina. Para linea: id es el idEnterprise
|
|
7922
7920
|
* @returns array()
|
|
7923
7921
|
* @description Obtiene las nominas registradas
|
|
7924
7922
|
* @return Observable<IResponse>
|
|
7925
7923
|
* @date 20-10-21
|
|
7924
|
+
* @actualizado 26-05-2024
|
|
7926
7925
|
*
|
|
7927
7926
|
*/
|
|
7928
|
-
getNomina(tipo, id) {
|
|
7929
|
-
return this.http.get(`${this.URL}/dao/sno/definicion_nomina_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(
|
|
7927
|
+
getNomina(tipo, id, act) {
|
|
7928
|
+
return this.http.get(`${this.URL}/dao/sno/definicion_nomina_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7930
7929
|
if (res.success) {
|
|
7931
7930
|
res.data = res.data.map(e => new MDefinicionNomina(e));
|
|
7932
7931
|
}
|