{{-- Banking details on the customer-facing portal, for the document's currency only. Mirrors resources/views/pdf/partials/banking.blade.php so the web page and the PDF a customer downloads never disagree about where to send money. Expects: $banking (from \App\Support\DocumentBanking::for()), $setting, $currencyCode. --}} @if ($banking['accounts']->isNotEmpty())
@foreach ($banking['accounts'] as $account)
@if ($banking['accounts']->count() > 1)

{{ $account->bank_name }}

@endif
@foreach ($account->printableRows() as $row)
{{ $row['label'] }}
{{ $row['value'] }}
@endforeach
{{ __('Currency') }}
{{ $account->currency_code }}
@if ($account->notes)

{{ $account->notes }}

@endif
@endforeach
@elseif ($setting?->banking_details)
{!! \App\Support\Html::display($setting->banking_details) !!}
@endif