@extends('layouts.app') @section('title','Bank T. Success') @section('content') @php $isSuccess = in_array($transfer->status, ['success','completed','approved']); $isFailed = in_array($transfer->status, ['failed','rejected','canceled']); $statusLabel = 'অপেক্ষমান'; $statusColor = 'text-orange-500'; if ($isSuccess) { $statusLabel = 'সফল হয়েছে'; $statusColor = 'text-green-500'; } elseif ($isFailed) { $statusLabel = 'বাতিল / ব্যর্থ'; $statusColor = 'text-rose-500'; } $bankName = optional($transfer->bank)->name ?? 'Bank Transfer'; $branchName = $transfer->branch_name ?: '—'; $created = optional($transfer->created_at)->format('d-m-Y'); @endphp
{{-- main white card --}}
{{-- green circle with check --}}
{{-- heading --}}

রিকোয়েস্ট সাবমিট হয়েছে

Bank Transfer ({{ $bankName }})

{{-- details box --}}
{{-- amount --}}
পরিমাণঃ ৳{{ number_format($transfer->amount, 2) }}
{{-- bank --}}
ব্যাংকঃ {{ $bankName }}
{{-- account --}}
অ্যাকাউন্টঃ {{ $transfer->account_number }}
{{-- branch --}}
ব্রাঞ্চঃ {{ $branchName }}
{{-- status --}}
অবস্থাঃ {{ $statusLabel }}
{{-- date --}}
তারিখঃ {{ $created }}
{{-- bottom full-width green button --}} হোমে ফিরে যান
@endsection