@extends('adminlte::page') @section('title', 'Detail Jurnal Umum') @section('content_header')
{{ \Carbon\Carbon::parse($journal->transaction_date)->format('d M Y') }}
{{ $journal->reference ?? '-' }}
{{ $journal->creator->name ?? 'Sistem' }}
| Kode Akun | Nama Akun | Debit (Rp) | Kredit (Rp) |
|---|---|---|---|
| {{ $detail->account->code ?? 'N/A' }} |
{{ $detail->account->name ?? 'Akun Terhapus' }}
{{ $detail->description }} |
@if($detail->debit > 0) Rp {{ number_format($detail->debit, 0, ',', '.') }} @php $totalDebit += $detail->debit; @endphp @else - @endif | @if($detail->credit > 0) Rp {{ number_format($detail->credit, 0, ',', '.') }} @php $totalCredit += $detail->credit; @endphp @else - @endif |
| Total | Rp {{ number_format($totalDebit, 0, ',', '.') }} | Rp {{ number_format($totalCredit, 0, ',', '.') }} | |
| Balance Check: | @if($totalDebit == $totalCredit) SEIMBANG (BALANCE) @else TIDAK SEIMBANG (UNBALANCED) @endif | ||