General Ledger
This is an example dashboard created using build-in elements and components.
@csrf
{{$data['account']->name}} - {{$data['account']->account_type}}
@if(!empty($data['transactions'])) @php $i=1; @endphp @foreach($data['transactions'] as $transaction) @php $i++; @endphp @endforeach @endif
# Voucher Date Voucher Number Note debit credit Balance
Beginning Balance {{$data['beginningBalance']}} {{$data['journal_entry_rule']}}
{{$i}} {{$transaction->voucher_date}} {{$transaction->voucher_number}} {{$transaction->note}} {{$transaction->debit}} {{$transaction->credit}} {{$transaction->closingBalance}}
Ending Balance {{$data['endingBalance']}} {{$data['journal_entry_rule']}}