@extends('layouts.app') @section('title', 'Journal Entry') @section('content')
| Entry Date | {{ $item->entry_date }} |
|---|---|
| Voucher | {{ $item->voucher->voucher_number ?? '' }} ({{ $item->voucher->voucher_type ?? '' }}) |
| Narration | {{ $item->narration }} |
| Account | Sub-ledger | Narration | Debit | Credit |
|---|---|---|---|---|
| {{ $line->account->code ?? '' }} — {{ $line->account->name ?? '' }} | {{ $line->sub_ledger_type ? $line->sub_ledger_type . ' #' . $line->sub_ledger_id : '—' }} | {{ $line->narration }} | {{ number_format($line->debit, 2) }} | {{ number_format($line->credit, 2) }} |