{{-- resources/views/exports/station-pdf.blade.php --}} Station Learning Resources Report

Learning Resources Report

Station: {{ $station->name ?? 'N/A' }}

Report Period: {{ \Carbon\Carbon::parse($from)->format('F d, Y') }} - {{ \Carbon\Carbon::parse($to)->format('F d, Y') }}

@if($data->count() > 0)
📖 Learning Resources Inventory
@foreach($data as $index => $item) @endforeach
# Station LR Type Subject Grade Level Usable Qty Unusable Qty Date Acquired
{{ $index + 1 }} {{ $item->station_name ?? '-' }} {{ $item->type ?? '-' }} {{ $item->subject_name ?? '-' }} {{ $item->grade_level ?? '-' }} {{ $item->usable_count ?? '-' }} {{ $item->unusable_count ?? '-' }} @if($item->date_acquired) {{ \Carbon\Carbon::parse($item->date_acquired)->format('Y-m-d') }} @else - @endif

Report Summary

Station: {{ $station->name ?? 'N/A' }}

Report Period: {{ \Carbon\Carbon::parse($from)->format('F d, Y') }} - {{ \Carbon\Carbon::parse($to)->format('F d, Y') }}

Total Resources: {{ $data->count() }}

Total Usable: {{ $data->sum('usable_count') }}

Total Unusable: {{ $data->sum('unusable_count') }}

Generated: {{ now()->format('F d, Y \a\t g:i A') }}

@else

No learning resources found for the selected date range.

@endif