@extends('layouts.app') @section('title',$voucher->voucher_number) @section('page_title','Manual Journal Voucher') @section('content') @php($s=$voucher->status instanceof \App\Enums\DocumentStatus?$voucher->status->value:$voucher->status)
{{ $voucher->description }} · {{ ucwords(str_replace('_',' ',$s)) }}
| Account | Party / Ledger | Description | Debit | Credit |
|---|---|---|---|---|
| {{ $l->account?->code }} - {{ $l->account?->name }} | {{ $l->party?->legal_name }} {{ $l->party_ledger }} | {{ $l->description }} | {{ number_format((float)$l->debit,2) }} | {{ number_format((float)$l->credit,2) }} |
| Total | {{ number_format((float)$voucher->debit_total,2) }} | {{ number_format((float)$voucher->credit_total,2) }} | ||