@component('mail::message') {{-- Header Greeting --}} # Hello {{ $recipientName }}! Your registration for **{{ $eventTitle }}** has been successfully confirmed. {{-- Event Details Card --}} @component('mail::panel') ## 📅 Event Details - **Event:** {{ $eventTitle }} - **Date:** {{ $eventDate }} - **Venue:** {{ $eventVenue }} - **Registration Type:** {{ $registrationType }} - **Registered On:** {{ $registrationTime }} @endcomponent {{-- Participant Details Section --}} ## 👥 Participant Details @if($participantCount === 1) {{-- Individual Registration --}} **Your UID:** {{ $participants[0]['reg_uid'] }} **Game Path:** {{ $participants[0]['game_path'] }} @else {{-- Team/Pair Registration --}} **Team/Pair Members:** @foreach($participants as $index => $participant) {{ $index + 1 }}. {{ $participant['name'] }}@if($participant['is_recipient']) **(You)**@endif - UID: {{ $participant['reg_uid'] }}     Game Path: {{ $participant['game_path'] }} @endforeach @endif --- {{-- Payment Details Section (Invoice Style) --}} @if($hasPayment) ## 💳 Payment Receipt @component('mail::table') | Detail | Value | |:-------|:------| | **Transaction ID** | {{ $transactionId }} | | **Payment Method** | {{ $paymentMethod }} | | **Payment Date** | {{ $paymentDate }} | | **Status** | {!! $paymentStatusBadge !!} | @endcomponent ### Payment Breakdown @if($participantCount === 1) {{-- Individual Payment --}}

Registration Fee

₹{{ number_format($totalAmount, 2) }}

@else {{-- Team/Pair Payment with Share Breakdown --}}
Your Share: ₹{{ number_format($userShareAmount, 2) }}
Total Team Payment: ₹{{ number_format($totalAmount, 2) }}

(Split equally among {{ $participantCount }} participants)

@endif {{-- Payment Status Message --}} @if($isPaid) @component('mail::panel') ✅ **Payment Confirmed** Your payment has been successfully processed and confirmed. Your registration is now complete. @endcomponent @else @component('mail::panel') ⏳ **Payment Pending** Your payment is currently pending. Please complete the payment to confirm your registration. @endcomponent @endif @else {{-- Free Event --}} @component('mail::panel') ## 🎉 Free Registration This is a free event. No payment is required. Your registration is confirmed! @endcomponent @endif {{-- Call to Action Button --}} @component('mail::button', ['url' => $eventUrl, 'color' => 'primary']) View Event Details @endcomponent ---

If you have any questions, please contact the event organizer.

Thank you for registering!

Best regards,
{{ config('app.name') }} @endcomponent