@extends('layouts.app') @section('title', 'Journal Entries') @section('content')

Journal entries

Double-entry vouchers for school transactions — debits first, credits indented below, with a narration for every posting.
New journal entry
@include('finance._nav')

Journal register

{{ num($entries->total()) }} vouchers
@forelse($entries as $entry) @empty @endforelse
VoucherDateReferenceNarrationLinesDebitCreditStatusActions
{{ $entry->voucher_no }} {{ $entry->entry_date?->format('d M Y') }} {{ $entry->reference ?: '—' }} {{ \Illuminate\Support\Str::limit($entry->narration, 70) }} {{ $entry->lines_count }} {{ money($entry->totalDebit()) }} {{ money($entry->totalCredit()) }}
@csrf @method('DELETE')
@include('shared.pager', ['paginator' => $entries])
@endsection