@extends('frontend.layout_2') @section('title', 'Deposit Submitted') @push('styles') @endpush @section('sub_layout') @php // methodType যদি না আসে, ডিফল্ট mobile ধরে নিচ্ছি (error এড়ানোর জন্য) $methodType = $methodType ?? 'mobile'; // logo url build $logoUrl = ''; if (!empty($pm?->logo)) { $logoUrl = preg_match('/^(https?:\/\/|\/)/i', $pm->logo) ? $pm->logo : asset('storage/'.$pm->logo); } // bank / mobile অনুযায়ী method এর নাম $isBank = $methodType === 'bank'; $methodName = $isBank ? ($pm->bank_name ?? 'Bank') : ($pm->name ?? 'Mobile Wallet'); $accountLabel = $isBank ? ($pm->account_holder ?? null) : null; @endphp
{{-- Header --}}
Deposit Submitted
আপনার তথ্য গ্রহণ করা হয়েছে
@if($logoUrl) {{ $methodName }} @endif
{{-- Info banner --}}
স্ট্যাটাস
আপনার ডিপোজিটটি রিভিউতে আছে। কনফার্ম হলে ট্রানজ্যাকশন্স পেজে স্ট্যাটাস আপডেট হবে।
{{-- Summary --}}
{{-- Method --}}
Method
{{ strtoupper($deposit->method) }} @if($pm) · {{ $methodName }} @endif
@if($isBank && $pm)
{{ $pm->account_holder ?? '' }} @if(!empty($pm->branch_name)) · {{ $pm->branch_name }} @endif
@endif
{{-- Amount --}}
Amount
{{ number_format($deposit->amount) }} BDT
{{-- Transaction ID --}}
Transaction ID
{{ $deposit->transaction_id }}
{{-- CTA buttons --}}
Copied!
@endsection @push('scripts') @endpush