@extends('layouts.app') @section('title', $entry->entry_number) @section('content')
{{ $entry->description }}
| Code | Account | Type | Debit | Credit | Memo |
|---|---|---|---|---|---|
| {{ $line->account?->code ?: '—' }} | {{ $line->account?->name ?: 'Deleted account' }} | {{ title_case_words($line->account?->type ?? '—') }} | {{ $line->debit > 0 ? money($line->debit) : '' }} | {{ $line->credit > 0 ? money($line->credit) : '' }} | {{ $line->memo ?: '—' }} |
| Totals | {{ money($entry->total_debit) }} | {{ money($entry->total_credit) }} | @if (abs($entry->total_debit - $entry->total_credit) < 0.005) Balanced @else Unbalanced @endif | ||