@extends('user.layouts.app') @push('styles') @endpush @section('body_class', 'payment-receipt-page') @section('content')
{{-- Back Link --}} Back {{-- ── Success Banner (only shown when redirected from payment) ── --}} @if($showSuccess)

Payment Successful!

Your payment has been processed successfully. Your official receipt is ready below. A copy has also been sent to your registered email address.

@else

Payment Receipt

View and download your payment receipt below.

@endif {{-- ── Receipt Details Card ── --}}

Receipt Details

Tollygunge Club — Online Payment
Payment Successful
@php $receiptUser = $order->user; $memberName = trim(implode(' ', array_filter([ $receiptUser?->first_name, $receiptUser?->middle_name, $receiptUser?->last_name, ]))); if ($memberName === '') { $memberName = (string) ($receiptUser?->name ?? '—'); } else { $memberName = ucwords(strtolower($memberName)); } @endphp
Member Name
{{ $memberName }}
Membership No.
{{ $receiptUser?->member_id ?? '—' }}
Receipt / Order No.
{{ $order->receipt_id ?? $order->order_id ?? '—' }}
Payment ID
{{ $order->payment_id ?? '—' }}
Amount Paid
₹ {{ number_format((float) $order->amount, 2) }}
Currency
{{ $order->currency ?? 'INR' }}
Payment Gateway
{{ ucfirst($order->payment_gateway ?? '—') }}
Payment Method
{{ ucfirst($order->method ?? '—') }}
Transaction Date & Time
{{ $order->created_at ? $order->created_at->format('d M Y, h:i A') : '—' }}
Payment Status
{{ ucfirst($order->payment_status ?? 'Successful') }}
{{-- ── Action Buttons Card ── --}}
Download or Print your Receipt Your official payment receipt is available as a PDF document.
{{-- ── PDF Preview Card ── --}}
@endsection @section('footer') @endsection @push('scripts') @endpush