@extends('layouts.app') @section('title', 'Ledger check') @section('content') @can('ledger.manage')
@csrf
@endcan
{{ $ok ? 'Everything matches' : 'Some figures don\'t match' }}
{{ $entries }} journal {{ \Illuminate\Support\Str::plural('entry', $entries) }} checked against your documents.@unless ($ok) Try Rebuild ledger; if it persists, the lines below show where.@endunless
Ledger vs documents
@foreach ($checks as $c) @endforeach
CheckLedgerDocumentsDifference
@if ($c['ok'])Matches@elseDoes not match@endif {{ $c['label'] }}{{ $c['note'] }} {{ money($c['ledger']) }} {{ money($c['source']) }} {{ $c['ok'] ? '✓' : money($c['diff']) }}
Documents not yet in the ledger
    @foreach ($missing as $label => $n)
  • {{ $label }}
    @if ($n){{ $n }} missing@else all posted@endif
  • @endforeach
Clients & vendors that differ
@if ($mismatches)
@foreach ($mismatches as $m)@endforeach
NameLedgerDocuments
{{ $m['kind'] }}{{ $m['name'] }}{{ money($m['ledger']) }}{{ money($m['source']) }}
@else
@endif
@endsection