@extends('layouts.settings') @section('title', __('bank_account.list')) @section('content_settings')
@forelse ($bankAccounts as $bankAccount)

{{ $bankAccount->name }}

{{ $bankAccount->status }}

{{ __('bank_account.number') }}:
{{ $bankAccount->number }}

{{ __('bank_account.account_name') }}:
{{ $bankAccount->account_name }}

@if ($bankAccount->description)

{{ __('app.description') }}:
{{ $bankAccount->description }}

@endif

{{ __('bank_account_balance.amount') }}:
Rp. {{ optional($bankAccount->lastBalance)->amount_string }}

{{ __('bank_account_balance.date') }}:
{{ optional($bankAccount->lastBalance)->date }}

@empty {{ __('bank_account.empty') }} @endforelse
{{ $bankAccounts->links() }} @includeWhen(Request::has('action'), 'bank_accounts.forms') @endsection @push('scripts') @endpush