@include('reports.partials.header', ['title' => $title, 'period' => __('As of').' '.\App\Support\DualDate::format(now(), 'Y-m-d')])
| {{ $type === 'customer' ? __('Customer') : __('Supplier') }} | {{ __('Phone') }} | {{ __('Current Balance') }} | |
@php($total = 0)
@foreach($parties as $party)
@php($total += $party->balance)
| {{ $party->name }} | {{ $party->phone ?: '-' }} | {{ number_format($party->balance, 2) }} {{ $moneyCode }} | |
@endforeach
| {{ __('Total Balance') }} | {{ number_format($total, 2) }} {{ $moneyCode }} | |