Contracts Report

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

Total Contracts: {{ $contracts->count() }}

@foreach($contracts as $contract) @endforeach
Employee Type Position Start Date End Date Salary Status
{{ $contract->employee->first_name ?? '' }} {{ $contract->employee->last_name ?? '' }} {{ ucfirst($contract->contract_type) }} {{ $contract->position }} {{ $contract->start_date->format('M d, Y') }} {{ $contract->end_date ? $contract->end_date->format('M d, Y') : 'Ongoing' }} ${{ number_format($contract->salary, 2) }} {{ ucfirst($contract->status) }}