@extends('layouts.app') @section('page-title', 'Bank Accounts') @section('content') @if($accounts->isEmpty())
No bank accounts yet. Add your first one →
@else
@foreach($accounts as $a) @endforeach
NameBankAccount NoTypeStatusRateBalance
{{ $a->name }} {{ $a->bank_name }} {{ $a->account_number ?? '—' }} {{ ucfirst($a->account_type) }} {{ $a->is_active ? 'Active' : 'Inactive' }} {{ $a->conversion_rate ? number_format((float) $a->conversion_rate, 8) : '-' }} {{ $a->currency }} {{ number_format($a->current_balance, 2) }} Edit
@csrf @method('DELETE')
@endif @endsection