{{-- ===================================================== Etebarit - by Gisoo Web Solutions ------------------------------------------------------ Gisoo.net ------------------------------------------------------ Copyright (c) 2026 Gisoo Web Solutions ===================================================== This code is protected by copyright ===================================================== File: bank-mark.blade.php ------------------------------------------------------ Use: A bank's logo tile. Renders the self-hosted image when one has been dropped into public/images/banks, and the generic glyph when it has not. ===================================================== --}} @props(['account', 'onDark' => false]) @php $logo = \App\Support\BankDirectory::logo($account->bank_key); @endphp $onDark, 'border border-line bg-page text-primary-600' => ! $onDark, ])> @if ($logo !== null) {{ $account->bankName() }} @else @endif