@extends('layouts.app') @section('title','Bill Pa. Success') @section('content') @php $isSuccess = in_array($payment->status, ['success','completed','approved']); $statusLabel = $isSuccess ? 'সফল হয়েছে' : 'অপেক্ষমান'; $statusColor = $isSuccess ? 'text-green-500' : 'text-orange-500'; @endphp
{{-- main white card --}}
{{-- green circle with check --}}
{{-- heading --}}

লেনদেন সফল হয়েছে

Bill Payment

{{-- details box --}}
{{-- amount row --}}
পরিমাণঃ ৳{{ number_format($payment->amount, 2) }}
{{-- status row --}}
অবস্থাঃ {{ $statusLabel }}
{{-- date row --}}
তারিখঃ {{ optional($payment->created_at)->format('d-m-Y') }}
{{-- bottom full-width green button --}} হোমে ফিরে যান
@endsection