{{ __('messages.accounts') }}

@forelse ($accounts as $key => $account) @empty @endforelse
# {{ __('messages.title') }} {{ __('messages.type') }} {{ __('messages.account_number') }} {{ __('messages.description') }} {{ __('messages.total_balance') }} {{ __('messages.created_at') }} {{ __('messages.action') }}
{{ $key + 1 }} {{ $account->title }} {{ strtoupper($account->type) }} {{ $account->account_number ?? __('messages.na') }} {{ $account->description ?? __('messages.na') }} {{ (new App\Models\Account)->balance($account->id) ?? __('messages.na') }} {{ $account->created_at->format('d-m-Y') }}
@csrf @method('DELETE')
{{ __('messages.no_account_found') }}