@php $journalStatus = isset($data->status) ? $data->status : 'DRAFT'; $isEditable = $journalStatus == 'DRAFT'; $detailJson = []; foreach ($details as $row) { $detailJson[] = [ 'account_id' => $row->account_id, 'description' => $row->description, 'debit' => number_format((float) $row->debit, 2, '.', ''), 'credit' => number_format((float) $row->credit, 2, '.', ''), ]; } @endphp

Create {{ $title }}

@if (! $isEditable) @endif
Tanggal jurnal harus berada pada periode akuntansi OPEN.
Jurnal otomatis wajib memiliki reference_type dan reference_id.
Detail Jurnal
@if ($isEditable) @endif
# Akun Keterangan Debit Credit
Total 0.00 0.00
@if ($isEditable) @else @if ($journalStatus == 'POSTED') @endif @endif