{{ $contract->contract_type === 'rental' ? 'RENTAL AGREEMENT' : 'SALE AGREEMENT' }}

Contract Number: {{ $contract->contract_number }}

Date: {{ $contract->created_at->format('F d, Y') }}

{{ ucfirst($contract->status) }}

Contract Details
Contract Type:
{{ ucfirst($contract->contract_type) }} Agreement
Total Amount:
{{ number_format($contract->total_amount, 0) }} {{ $contract->currency }}
Payment Type:
{{ ucfirst($contract->payment_type) }}
@if($contract->payment_type === 'installment')
Installment Count:
{{ $contract->installment_count ?? '-' }}
Installment Amount:
{{ number_format($contract->installment_amount ?? 0, 0) }} {{ $contract->currency }}
@endif
Start Date:
{{ \Carbon\Carbon::parse($contract->start_date)->format('F d, Y') }}
End Date:
{{ \Carbon\Carbon::parse($contract->end_date)->format('F d, Y') }}
@if($contract->signed_at)
Signed Date:
{{ \Carbon\Carbon::parse($contract->signed_at)->format('F d, Y') }}
@endif
Property Information
@if($contract->property)
Property Name:
{{ $contract->property->title }}
Property Type:
{{ ucfirst($contract->property->type) }}
Location:
{{ $contract->property->address }}, {{ $contract->property->city }}
@if($contract->property->bedrooms)
Bedrooms:
{{ $contract->property->bedrooms }}
@endif @if($contract->property->bathrooms)
Bathrooms:
{{ $contract->property->bathrooms }}
@endif @if($contract->property->area)
Area:
{{ $contract->property->area }} m²
@endif
@else

Property information not available.

@endif
Parties Involved

Owner/Landlord

@if($contract->owner)
Name:
{{ $contract->owner->name }}
Email:
{{ $contract->owner->email }}
@endif

Customer/Tenant

@if($contract->customer)
Name:
{{ $contract->customer->name }}
Email:
{{ $contract->customer->email }}
@if($contract->customer->phone)
Phone:
{{ $contract->customer->phone }}
@endif
@endif
@if($contract->terms)
Terms & Conditions
{!! nl2br(e($contract->terms)) !!}
@endif @if($contract->notes)
Additional Notes
{!! nl2br(e($contract->notes)) !!}
@endif
Owner/Landlord Signature
Date: {{ $contract->signed_at ? \Carbon\Carbon::parse($contract->signed_at)->format('M d, Y') : '_______________' }}
Customer/Tenant Signature
Date: _______________

This is a computer-generated document. No physical signature is required unless specified above.

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