{{-- resources/views/reports/pdf/transaction-history.blade.php --}}
Generated on: {{ date('F d, Y \a\t H:i') }}
@if(isset($date_from) || isset($date_to))Date Range: {{ $date_from ?? 'Start' }} to {{ $date_to ?? 'End' }}
@endifTotal Transactions
Check-outs
Check-ins
Unique Laptops
| Date/Time | Type | Laptop | Student | Staff Member | Condition | Notes |
|---|---|---|---|---|---|---|
|
{{ $transaction->transaction_time->format('M d, Y') }} {{ $transaction->transaction_time->format('H:i:s') }} |
{{ $transaction->type === 'check_out' ? 'Check Out' : 'Check In' }} |
{{ $transaction->laptop->asset_tag }} {{ $transaction->laptop->brand }} {{ $transaction->laptop->model }} |
{{ $transaction->student->full_name }} ID: {{ $transaction->student->student_id }} |
{{ $transaction->user->name }} | @if($transaction->type === 'check_out') Before: {{ ucfirst($transaction->condition_before ?? 'N/A') }} @else After: {{ ucfirst($transaction->condition_after ?? 'N/A') }} @endif |
@if($transaction->notes)
{{ Str::limit($transaction->notes, 50) }}
@endif
@if($transaction->damage_description)
Damage: {{ Str::limit($transaction->damage_description, 30) }} @endif |