@include('pdf.partials.styles-unified')

REPORTE DE VACACIONES | {{ $empresa->name ?? '' }}

Total de registros: {{ $registros->count() }}

Generado: {{ now()->format('d/m/Y H:i:s') }}

@foreach($registros as $i => $v) @php $dias = $v->fecha_inicio && $v->fecha_fin ? $v->fecha_inicio->diffInDays($v->fecha_fin) + 1 : 0; @endphp @endforeach
Colaborador Fecha inicio Fecha fin Días Observación
{{ $i + 1 }} {{ ($v->empleado->nombre ?? '') . ' ' . ($v->empleado->apellido ?? '') }} {{ $v->fecha_inicio ? $v->fecha_inicio->format('d/m/Y') : '-' }} {{ $v->fecha_fin ? $v->fecha_fin->format('d/m/Y') : '-' }} {{ $dias }} {{ $v->observacion ?? '-' }}