{{ $title }}
Fecha de generación: {{ now()->format('d/m/Y h:i A') }}
@if (($filters['search'] ?? null) || ($filters['signature_status'] ?? null) || ($filters['period'] ?? null))
Filtros aplicados: @if ($filters['period'] ?? null) Periodo: {{ $filters['period'] }} @endif @if ($filters['signature_status'] ?? null) | Estado: {{ ucfirst($filters['signature_status']) }} @endif @if ($filters['search'] ?? null) | Búsqueda: "{{ $filters['search'] }}" @endif
@endif
{{ $title }}
@if ($type === 'sent') @elseif ($type === 'resolution') @else @endif @foreach ($charges as $charge) @php $signatureCompletedLabel = $charge->signature?->signature_completed_at ? $charge->signature->signature_completed_at->format('d/m/Y H:i') : '---'; $sigRoot = $charge->signature?->signature_root; $sigPath = $sigRoot ? storage_path('app/' . $sigRoot) : null; @endphp @if ($type === 'sent') @elseif ($type === 'resolution') @else @endif @endforeach
ID No. Cargo Periodo Fecha Interesado Asunto Estado Fecha Firma Firma
ID Cargo Año RD Fecha RD Interesado DNI Asunto Fecha Firma Firma
ID No. Cargo Periodo Enviado por Interesado Asunto Estado Fecha Firma Firma
{{ $charge->id }} {{ $charge->n_charge }} {{ $charge->charge_period }} {{ $charge->created_at->format('d/m/Y') }} {{ $charge->interesado_label }} {{ Str::limit($charge->asunto, 80) }} {{ ucfirst($charge->signature?->signature_status ?? 'pendiente') }} {{ $signatureCompletedLabel }} @if ($charge->signature?->signature_status === 'firmado' && $sigPath && file_exists($sigPath)) @else --- @endif
{{ $charge->id }} {{ $charge->n_charge }} {{ $charge->charge_period }} {{ $charge->resolucion?->rd ? ($charge->resolucion?->type?->abreviacion ?? 'RD') . ' ' . $charge->resolucion?->rd : 'N/A' }} {{ $charge->resolucion?->formatted_fecha }} {{ $charge->resolucion?->nombres_apellidos }} {{ $charge->resolucion?->dni }} {{ Str::limit($charge->asunto, 80) }} {{ $signatureCompletedLabel }} @if ($charge->signature?->signature_status === 'firmado' && $sigPath && file_exists($sigPath)) @else --- @endif
{{ $charge->id }} {{ $charge->n_charge }} {{ $charge->charge_period }} {{ strtolower($charge->user?->name . ' ' . $charge->user?->last_name) }} {{ $charge->interesado_label }} {{ Str::limit($charge->asunto, 80) }} {{ ucfirst($charge->signature?->signature_status ?? 'pendiente') }} {{ $signatureCompletedLabel }} @if ($charge->signature?->signature_status === 'firmado' && $sigPath && file_exists($sigPath)) @else --- @endif