@if(file_exists(public_path('images/logo.png'))) @elseif(asset('images/logo.png')) @endif

Owner Financial Report

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

Period: {{ \Carbon\Carbon::parse($start_date)->format('F d, Y') }} - {{ \Carbon\Carbon::parse($end_date)->format('F d, Y') }}

@if(isset($property) && $property)

Property: {{ $property->name }}

@else

All Properties

@endif

Financial Summary

Total Income
UGX {{ number_format($total_income, 2) }}
Total Expenses
UGX {{ number_format($total_expenses, 2) }}
Net Income
UGX {{ number_format($net_income, 2) }}
@if(isset($payments) && $payments->count() > 0)
Income Details
@foreach($payments as $payment) @endforeach
Date Property Tenant Description Amount (UGX)
{{ \Carbon\Carbon::parse($payment->payment_date)->format('d/m/Y') }} {{ optional($payment->lease->property)->name ?? 'N/A' }} {{ optional($payment->lease->tenant)->full_name ?? 'N/A' }} {{ $payment->description ?? 'Rent Payment' }} {{ number_format($payment->amount, 2) }}
Total Income: UGX {{ number_format($total_income, 2) }}
@endif @if(isset($expenses) && $expenses->count() > 0)
Expense Details
@foreach($expenses as $expense) @endforeach
Date Property Category Description Amount (UGX)
{{ \Carbon\Carbon::parse($expense->expense_date)->format('d/m/Y') }} {{ optional($expense->property)->name ?? 'N/A' }} {{ $expense->category->name ?? 'General' }} {{ $expense->description ?? 'Expense' }} {{ number_format($expense->total_amount, 2) }}
Total Expenses: UGX {{ number_format($total_expenses, 2) }}
@endif @if((!isset($payments) || $payments->count() == 0) && (!isset($expenses) || $expenses->count() == 0))

No transactions found for the selected period.

@endif