@extends('layouts.app') @section('title', 'Voucher ' . $item->voucher_number) @push('styles') @endpush @section('content') {{-- ✅ Header Section --}}
View voucher details and journal lines.
| Account | Narration | Debit | Credit |
|---|---|---|---|
| {{ $account?->code }} — {{ $account?->name }} | {{ $line['narration'] ?? '' }} | {{ number_format((float) ($line['debit'] ?? 0), 2) }} | {{ number_format((float) ($line['credit'] ?? 0), 2) }} |
| No draft lines found. | |||
| {{ $line->account->code ?? '' }} — {{ $line->account->name ?? '' }} | {{ $line->narration }} | {{ number_format($line->debit, 2) }} | {{ number_format($line->credit, 2) }} |
| No journal lines found. | |||
| Total | {{ number_format($item->total_debit, 2) }} | {{ number_format($item->total_credit, 2) }} | |
Posted vouchers cannot be edited or deleted. A reversal creates a mirror-image voucher and marks this one as reversed.