@extends('backend.partials.master') @section('title') {{ ___('admin.journal_entries_3e843d') }} @endsection @section('maincontent') @include('backend.accounting.partials._filters') {{-- Each entry names both of its legs, so the journal reads the way a journal should: what was debited, what was credited, and where it came from. --}} @foreach($entries as $t) {{ $t->txn_date?->format('Y-m-d') }} {{ $t->reference }} {{ $t->description }} {{ $t->debitAccountId() === $t->account_id ? ($t->account->name ?? $t->account_name) : ($t->contraAccount->name ?? '—') }} {{ $t->creditAccountId() === $t->account_id ? ($t->account->name ?? $t->account_name) : ($t->contraAccount->name ?? '—') }} {{ currency_symbol() }}{{ number_format($t->amount, 2) }} @if($t->isAutoPosted()) {{ admin_label(\Illuminate\Support\Str::headline($t->sourceLabel() ?? '')) }} @else {{ ___('admin.manual_4e836f') }} @endif @endforeach
{{ ___('admin.total_posted_9744bd') }} {{ currency_symbol() }}{{ number_format($total, 2) }}
@endsection