@php $avgRateToPkr = $account->average_conversion_rate_to_pkr; $showAverageRate = strtoupper((string) $account->currency) !== 'PKR'; $latestCreditType = $bucket === 'wallets' ? trim((string) $account->getAttribute('latest_credit_type_label')) : ''; @endphp
{{ $maskedAccount($account) }}
{{ $account->name }}
{{ $account->bank_name }}
@if($latestCreditType !== '')
Credit Type: {{ $latestCreditType }}
@endif
Balance
{{ $metrics->money($account->current_balance, $account->currency) }}
@if($showAverageRate)
Avg {{ $account->currency }}->PKR
{{ $avgRateToPkr !== null ? number_format((float) $avgRateToPkr, 2) : '-' }}
@endif