Loans Report

Generated on {{ now()->format('F d, Y H:i:s') }}

Total Loans: {{ $loans->count() }}

@foreach($loans as $loan) @endforeach
Employee Amount Paid Balance Start Date Status
{{ $loan->employee->first_name ?? '' }} {{ $loan->employee->last_name ?? '' }} ${{ number_format($loan->amount, 2) }} ${{ number_format($loan->amount_paid, 2) }} ${{ number_format($loan->balance, 2) }} {{ $loan->start_date ? $loan->start_date->format('M d, Y') : 'N/A' }} {{ ucfirst($loan->status) }}