@php
$tabs = [
['key' => 'payment', 'icon' => 'fa-mobile-alt', 'label' => __('Payment'), 'translate_key' =>
'tab_payment'],
['key' => 'details', 'icon' => 'fa-receipt', 'label' => __('Details'), 'translate_key' =>
'tab_details'],
['key' => 'support', 'icon' => 'fa-headset', 'label' => __('Support'), 'translate_key' =>
'tab_support'],
];
@endphp
@foreach($tabs as $index => $tab)
{{ $tab['label'] }}
@endforeach
{{-- Language Switcher --}}
{{ $otherLocaleLabel }}
@if ($error ?? false)
{{ __('Payment Error') }}
{{ $error }}
@endif
{{ __('Select Payment Method') }}
@php
$mobileWallets = ['bkash', 'nagad', 'rocket', 'upay', 'cellfin', 'tap', 'okwallet', 'surecash',
'mcash', 'mycash', 'ipay'];
$bankWallets = ['ibl', 'abbank', 'citybank', 'sonali', 'dbbl', 'basic', 'ebl', 'bbrac', 'basia',
'agrani', 'jamuna', 'ific'];
$cryptoWallets = ['binance', 'payeer'];
@endphp
@forelse ($activeWallets ?? [] as $wallet)
@if(in_array($wallet->wallet_type, $mobileWallets) && $wallet->status == 1)
@foreach(['personal', 'agent', 'merchant', 'payment'] as $type)
@if($wallet->{'is_' . $type . '_active'})
{{ __(ucfirst($wallet->wallet_type)) }}
{{ __(strtoupper($type)) }}
@endif
@endforeach
@elseif((in_array($wallet->wallet_type, $bankWallets) || in_array($wallet->wallet_type,
$cryptoWallets)) && $wallet->status == 1)
@php
$svgPath = 'assets/image/bank-img/' . $wallet->wallet_type . '.svg';
$pngPath = 'assets/image/bank-img/' . $wallet->wallet_type . '.png';
$defaultPath = 'assets/image/bank-img/default.svg';
$imagePath = file_exists(public_path($svgPath)) ? $svgPath :
(file_exists(public_path($pngPath)) ? $pngPath : $defaultPath);
@endphp
{{ __(ucfirst(str_replace('_', ' ', $wallet->wallet_type))) }}
{{ in_array($wallet->wallet_type, $bankWallets) ? __('BANK') : __('CRYPTO') }}
@endif
@empty
{{ __('No payment methods available.') }}
@endforelse
{{ __('Transaction Summary') }}
{{ __('Invoice To:') }}
{{ $brand->name ?? __('BD Better Pay') }}
{{ __('Payable:') }}
৳{{ number_format($amount ?? 0, 2) }}
@include('frontend.transaction-details', [
'brandName' => $brand->name ?? __('Default Gateway'),
'transactionId' => $transactionId,
'amount' => $amount ?? 0,
'totalPayable' => $amount ?? 0,
])
{{ __("We're Here to Help") }}
{{ __('Sun - Thu:') }} 9:00 AM - 11:00 PM
{{ __('Fri - Sat:') }} 10:00 AM - 8:00 PM