Tenant Name: {{ $lease->client->owners_name ?? 'N/A' }}
Lease Start Date: {{ \Carbon\Carbon::parse($lease->lease_start_date)->format('F j, Y') }}
Contract Type: {{ $lease->contract_type }}
Lease Duration: {{ $lease->lease_duration }}
{{ $lease->contract_type === 'Daily' ? 'days' : ($lease->contract_type === 'Weekly' ? 'weeks' : ($lease->contract_type === 'Yearly' ? 'years' : 'months')) }}
Estimated End Date: {{ \Carbon\Carbon::parse($lease->lease_start_date)
->addMonths($lease->contract_type === 'Monthly' ? $lease->lease_duration : 0)
->addWeeks($lease->contract_type === 'Weekly' ? $lease->lease_duration : 0)
->addDays($lease->contract_type === 'Daily' ? $lease->lease_duration : 0)
->addYears($lease->contract_type === 'Yearly' ? $lease->lease_duration : 0) // Add this line for yearly
->format('F j, Y') }}
Rent Amount: ₱{{ $clientmain->rent_amount }}
Yearly Escalation: {{ $lease->yearly_escalation }}%
Terms: {{ $lease->terms }}
Advance Payment: {{ $lease->relief_rental }}
Security Deposit: ₱{{ number_format($lease->security_deposit, 2) }}