Email: {{ $invoice->company->email }}
@endif @if($invoice->company->phone)Phone: {{ $invoice->company->phone }}
@endif @if($invoice->company->address)Address: {{ $invoice->company->address }}
@if($invoice->company->city){{ $invoice->company->city }}{{ $invoice->company->country ? ', ' . $invoice->company->country : '' }}
@endif @endif @elseInvoice #: {{ $invoice->invoice_number }}
Date: {{ \Carbon\Carbon::parse($invoice->invoice_date)->format('M d, Y') }}
Due Date: {{ \Carbon\Carbon::parse($invoice->due_date)->format('M d, Y') }}
@if($invoice->status === 'paid') PAID @elseif($invoice->status === 'pending') PENDING @elseif($invoice->status === 'overdue') OVERDUE @else {{ strtoupper($invoice->status) }} @endif{{ $invoice->customer->name }}
@if($invoice->customer->email){{ $invoice->customer->email }}
@endif @if($invoice->customer->phone){{ $invoice->customer->phone }}
@endif @elseN/A
@endif{{ $invoice->property->title }}
@if($invoice->property->address){{ $invoice->property->address }}
@endif @if($invoice->property->city){{ $invoice->property->city }}
@endif @elseN/A
@endif{{ $invoice->owner->name }}
@if($invoice->owner->email){{ $invoice->owner->email }}
@endif| Description | Amount | Tax | Total |
|---|---|---|---|
|
{{ ucfirst($invoice->invoice_type ?? 'rent') }} Payment
@if($invoice->description)
{{ $invoice->description }} @endif @if($invoice->contract) Contract: {{ $invoice->contract->contract_number }} @endif |
{{ number_format($invoice->amount, 2) }} {{ $invoice->currency }} | {{ number_format($invoice->tax_amount ?? 0, 2) }} {{ $invoice->currency }} | {{ number_format($invoice->total_amount, 2) }} {{ $invoice->currency }} |
{{ $invoice->notes }}
| Payment # | Date | Amount | Status |
|---|---|---|---|
| {{ $payment->payment_number ?? 'N/A' }} | {{ \Carbon\Carbon::parse($payment->payment_date)->format('M d, Y') }} | {{ number_format($payment->amount, 2) }} {{ $payment->currency }} | {{ ucfirst($payment->status) }} |