{{strtoupper(config('app_settings.community_name.value')) }}Registration Number {{config('app_settings.community_registration_number.value')}}{{ $invoice?->house?->company?->address?->line1 }} |
Name: {{ $house->owner ? $house->owner->user->first_name . ' '.$house->owner->user->last_name : '-' }}
House: {{ $house->block ? $house->block->block_name : '-'}} - {{ $house->house_number }}
Period: {{ \Carbon\Carbon::parse(\App\Models\Utils::financialYearStartDate())->format(config('app_settings.date_format.value')) }} - {{\Carbon\Carbon::now()->format(config('app_settings.date_format.value'))}}
| Invoiced Amount: | {{ \App\Models\Util::ConvertPrice($house->currentFinancialInvoices->sum('amount')) }} |
| Amount Paid: | {{ \App\Models\Util::ConvertPrice(($house->currentFinancialInvoices->sum('amount') - $house->invoices->sum('remaining_amount'))) }} |
| Balance Due: | {{ \App\Models\Util::ConvertPrice($house->currentFinancialInvoices->sum('remaining_amount')) }} |
| Date | Details | Debit | Credit | Balance |
|---|---|---|---|---|
| {{ Carbon\Carbon::parse($statement->created_at)->format(config('app_settings.date_format.value')) }} | {{$statement->description}} | {{ $statement->payment_type == 'debit' ? \App\Models\Util::ConvertPrice($statement->amount) : '' }} | {{ $statement->payment_type == 'credit' ? \App\Models\Util::ConvertPrice($statement->amount) : ''}} | {{ \App\Models\Util::ConvertPrice($statement->closing_balance)}} |