@extends('layouts.main') @section('main')

Gestión de Novedades de Nómina

Pendientes

{{ $estadisticas['pendientes'] }}

@if ($estadisticas['total'] > 0) {{ round(($estadisticas['pendientes'] / $estadisticas['total']) * 100, 1) }}% del total @else 0% del total @endif
Aprobadas

{{ $estadisticas['aprobadas'] }}

@if ($estadisticas['total'] > 0) {{ round(($estadisticas['aprobadas'] / $estadisticas['total']) * 100, 1) }}% del total @else 0% del total @endif
Rechazadas

{{ $estadisticas['rechazadas'] }}

@if ($estadisticas['total'] > 0) {{ round(($estadisticas['rechazadas'] / $estadisticas['total']) * 100, 1) }}% del total @else 0% del total @endif
Total Novedades

{{ $estadisticas['total'] }}

Registros totales

Limpiar

Lista de Novedades

@foreach ($novedades as $novedad) @endforeach
ID Empleado Identificación Tipo Descripción Fecha registro Estado Registrado por Acciones
{{ $novedad->NOV_ID }} {{ $novedad->empleado->EMP_NOMBRES ?? 'N/A' }} {{ $novedad->empleado->EMP_APELLIDOS ?? '' }} {{ $novedad->empleado->EMP_CEDULA ?? 'N/A' }} {{ $novedad->tipoNovedad->TIN_NOMBRE ?? 'N/A' }} {{ Str::limit($novedad->NOV_DESCRIPCION, 50) }} {{ optional($novedad->NOV_FECHA)->format('d/m/Y') ?? 'N/A' }} {{ $novedad->estado_texto }} {{ $novedad->usuario->name ?? 'N/A' }} @if ($novedad->NOV_ESTADO_APROBACION === 'pendiente')
@csrf @method('DELETE')
@endif
@include('Malla.Novedades.export-modal') @include('Malla.Novedades.approval-modal') @endsection @section('styles') @endsection @section('scripts') @endsection