@php
$p = $b->logo_path;
$name = $b->name ?? 'Bank';
$initial = strtoupper(mb_substr($name, 0, 1));
$isStored = $p && \Illuminate\Support\Facades\Storage::disk('public')->exists($p);
$isUrl = $p && \Illuminate\Support\Str::startsWith($p, ['http://', 'https://']);
@endphp
@if($isStored)
{{-- storage/app/public/... --}}
 }})
@elseif($isUrl)
{{-- full URL --}}

@elseif($p)
{{-- logo_path ржП text/code ржерж╛ржХрж▓рзЗ --}}
{{ $p }}
@else
{{-- ржПржХржжржо ржХрж┐ржЫрзБ ржирж╛ржЗ, ржирж╛ржорзЗрж░ initial --}}
{{ $initial }}
@endif
{{ $b->name }}
Min рз│{{ number_format($b->min_transaction,0) }}
@if($b->reward_percent > 0)
Reward {{ rtrim(rtrim(number_format($b->reward_percent,2), '0'), '.') }}%
@endif
@if(!$b->is_active)
Inactive
@endif