@extends('layouts.admin') @section('title', 'Bank statement') @section('content') Back @if($reconciliation && $reconciliation->status !== 'locked')
@csrf
@endif
Statement
{{ $bankStatement->status }}
Reconciliation
{{ $reconciliation?->status ?? 'Import required' }}
Open lines
{{ $bankStatement->lines->where('status', 'open')->count() }}
@csrf
@forelse($bankStatement->lines as $line) @empty @endforelse
Posted Description Amount Status Match target
{{ $line->posted_on?->format('d M Y') }} {{ $line->description }} {{ number_format($line->amount_cents / 100, 2) }} {{ $line->status }} @if($line->status === 'open')
@csrf
@else {{ $line->matched_type }} #{{ $line->matched_id }} @endif
No lines yet — import a CSV to begin.
@endsection