@extends('layouts.app')
@section('title', $entry->number())
@section('content')
@php($debit = (float) $entry->lines->sum('debit'))
Posted automatically. If you change the {{ strtolower($entry->sourceLabel()) }}, this entry updates itself.
@endunless| Account | Party | Memo | Debit | Credit | Rec. |
|---|---|---|---|---|---|
| {{ $l->account->label() }} | @if ($l->client){{ $l->client->name }}@elseif ($l->vendor){{ $l->vendor->name }}@else โ @endif | {{ $l->memo ?: 'โ' }} | {{ $l->debit > 0 ? money($l->debit) : '' }} | {{ $l->credit > 0 ? money($l->credit) : '' }} | @if ($l->reconciliation_id)Reconciled@endif |
| Totals | {{ money($debit) }} | {{ money($entry->lines->sum('credit')) }} | |||