Journal Report

{{--

{{ $branch }}

--}}
@php $totalDebit = 0; $totalCredit = 0; $sl = 1; @endphp @forelse ($transactions->groupBy('invoice_no') as $items) @foreach ($items as $item) @php $totalDebit += $item->debit_amount; $totalCredit += $item->credit_amount; @endphp @endforeach @php $sl++; @endphp @empty @endforelse @if (count($transactions) > 0) @endif
SL Account Description Dr. Cr.
@if ($loop->first) {{ $sl }} @endif {{ optional($item->account)->name }} {{ $item->getDescription() }} {{ number_format($item->debit_amount ?? 0, 2) }} {{ number_format($item->credit_amount ?? 0, 2) }}
NO RECORDS FOUND!
Total {{ number_format($totalDebit, 2) }} {{ number_format($totalCredit, 2) }}

{PAGENO} / {nbpg}