@extends('layouts.app')
@php($canManage = auth()->user()->hasPermission('accounting.manage'))
@section('title', 'Journal Entry '.$entry->entry_number)
@section('subtitle', $entry->journalLabel())
@section('content')
| Account | Memo | Debit | Credit |
|---|---|---|---|
|
{{ $line->account?->code }} — {{ $line->account?->name }}
{{ $line->account?->typeLabel() }}
|
{{ $line->description ?? '—' }} | {{ (float) $line->debit > 0 ? money($line->debit) : '—' }} | {{ (float) $line->credit > 0 ? money($line->credit) : '—' }} |
| Totals | {{ money($entry->debitTotal()) }} | {{ money($entry->creditTotal()) }} | |