@include('alerts.success')
| Date |
Reference |
Description |
Status |
Amount |
Created By |
Actions |
@forelse ($journalEntries as $journal)
| {{ $journal->entry_date }} |
{{ $journal->reference }} |
{{ Str::limit($journal->description, 30) }} |
@if($journal->status == 'posted')
Posted
@else
Draft
@endif
|
{{ formatMoney($journal->lines->sum('debit')) }}
|
{{ $journal->user->name ?? 'Unknown' }} |
@if($journal->status != 'posted')
@endif
|
@empty
| No journal entries found |
@endforelse
{{ $journalEntries->links() }}