@extends('layouts.app') @section('title', __('Statement: ') . $statement->bank_name) @section('content')
← {{ __('Statements zote') }}

{{ $statement->bank_name }} · {{ $statement->file_name }}

{{ __('Malipo') }} {{ $statement->lines_total }} · {{ __('Jumla') }} {{ money($statement->amount_total) }} · {{ __('Yameunganishwa automatically') }} {{ $statement->lines_matched }}

@foreach (['' => 'Zote', 'suggested' => 'Mapendekezo', 'unmatched' => 'Hayajulikani', 'matched' => 'Yameunganishwa', 'ignored' => 'Yamepuuzwa'] as $k => $v) {{ __($v) }} @endforeach
@forelse ($lines as $l) @empty @endforelse
{{ __('Tarehe') }}{{ __('Mwekaji / Maelezo') }}{{ __('Reference') }}{{ __('Kiasi') }}{{ __('Mteja') }}{{ __('Hali') }}{{ __('Hatua') }}
{{ optional($l->txn_date)->format('d/m/Y') }} {{ $l->depositor_name ?: '—' }}
{{ \Illuminate\Support\Str::limit($l->description, 70) }}
{{ $l->reference }} {{ money($l->amount) }} @if ($l->customer) {{ $l->customer->name }} {{ $l->customer->code }}
{{ $l->match_score }}% · {{ $l->match_method }}
@else — @endif
{!! status_badge($l->status) !!} @if ($l->status === 'matched') {!! icon('check', 'ic green') !!} {{ __('Risiti') }} {{ $l->payment->receipt_no ?? '' }} @elseif ($l->status !== 'ignored')
@csrf
@csrf
@endif
{{ __('Hakuna malipo kwenye kundi hili') }}
{{ $lines->links() }}
@endsection