@extends('layouts.app') @section('title', 'Reconciliation') @section('content') Open {{ $account->name }} ledger
{{ config('erp.currency') }}
@if ($statement === null)
Enter the statement date and the closing balance printed on the statement, then press Start. You'll see every transaction not yet reconciled up to that date.
@else
@csrf @include('partials.error-summary')
Already reconciled
{{ money($opening) }}
Ticked now
{{ money(0) }}
0 transactions
Statement balance
{{ money($statement) }}
Difference
{{ money($statement - $opening) }}
Keep ticking
Unreconciled transactions up to {{ \Illuminate\Support\Carbon::parse($date)->format('d M Y') }}
@forelse ($lines as $l) @empty @endforelse
DateEntryReferenceDescriptionDebitCredit
{{ $l->entry->number() }} {{ $l->entry->reference ?: '—' }} {{ $l->entry->memo }} {{ $l->debit > 0 ? money($l->debit) : '' }} {{ $l->credit > 0 ? money($l->credit) : '' }}
@if ($lines->isNotEmpty()) @endif
@endif
Recent reconciliations — {{ $account->name }}
@forelse ($history as $h) @empty @endforelse
Statement dateStatement balanceOpeningByNoteActions
{{ $h->statement_date->format('d M Y') }} {{ money($h->statement_balance) }} {{ money($h->opening_balance) }} {{ $h->user?->name ?? '—' }} {{ $h->notes ?: '—' }} @if ($h->id === (int) $latestId)
@csrf @method('DELETE')
@endif
@endsection