@extends('layouts.app') @section('title','Bank D. Success') @section('content') @php $isSuccess = in_array($bank->status, ['approved','success','completed']); $isFailed = in_array($bank->status, ['rejected','failed','canceled']); if ($isSuccess) { $statusLabel = 'অনুমোদিত'; $statusColor = 'text-green-500'; } elseif ($isFailed) { $statusLabel = 'বাতিল / ব্যর্থ'; $statusColor = 'text-rose-500'; } else { $statusLabel = 'অপেক্ষমান'; $statusColor = 'text-orange-500'; } $bankName = $method?->bank_name ?? $method?->slug ?? 'Bank Deposit'; $created = optional($bank->created_at)->format('d-m-Y'); @endphp
{{-- main white card --}}
{{-- green circle with check --}}
{{-- heading --}}

ব্যাংক ডিপোজিট রিকোয়েস্ট সাবমিট হয়েছে

Bank Deposit ({{ $bankName }})

{{-- details box --}}
{{-- amount --}}
পরিমাণঃ ৳{{ number_format($bank->amount, 2) }}
{{-- account holder --}}
অ্যাকাউন্ট হোল্ডারঃ {{ $bank->account_holder }}
{{-- account number --}}
অ্যাকাউন্ট নম্বরঃ {{ $bank->account_number }}
{{-- branch (optional) --}}
ব্রাঞ্চঃ {{ $bank->sender_branch ?: '—' }}
{{-- reference --}}
রেফারেন্সঃ {{ $bank->reference }}
{{-- status --}}
অবস্থাঃ {{ $statusLabel }}
{{-- date --}}
তারিখঃ {{ $created }}
{{-- bottom full-width green button --}} হোমে ফিরে যান
@endsection