@extends('layouts.frontend.master') @section('title', $event->name . ' - Event Details') @push('css') @endpush @section('content') @csrf Event Details {{-- Event Name (full width) --}} Event Name {{ $event->name ?? '' }} {{-- Venue (left side) --}} Venue {{ $event->venue ?? '' }} {{-- Category (right side) --}} @if($event->category) Category {{ $event->category ?? '' }} @endif {{-- Date & Time (left side) --}} Date & Time @php $futureDates = $event->dates->filter(function($e) { return isset($e->end_date_time) && \Carbon\Carbon::parse($e->end_date_time)->isFuture(); }); if($futureDates->count() > 0){ $firstStart = \Carbon\Carbon::parse($futureDates->first()->start_date_time); $lastEnd = \Carbon\Carbon::parse($futureDates->last()->end_date_time); } @endphp @if(isset($firstStart) && isset($lastEnd)) @if($firstStart->isSameDay($lastEnd)) {{ $firstStart->format('M j, Y') }} ({{ $firstStart->format('g:i A') }} - {{ $lastEnd->format('g:i A') }}) @else {{ $firstStart->format('M j, Y g:i A') }} - {{ $lastEnd->format('M j, Y g:i A') }} @endif @endif {{--last_payment_date (right side)--}} @if($event->last_payment_date) Last Payment Date {{ $event->last_payment_date? \Carbon\Carbon::parse($event->last_payment_date)->format('M j, Y g:i A') : 'Not specified' }} @endif {{-- Highlights (right side) --}} @if(!empty($event->highlights)) Highlights @foreach($event->highlights as $highlight) {{ $highlight ?? '' }} @endforeach @endif {{-- Expected Attendees (full width) --}} @if(!empty($event->expected_attendees)) Expected Attendees {{ $event->expected_attendees ?: 'Not specified' }} @endif {{-- Description (full width) --}} @if(!empty($event->description)) Description {!! $event->description ?: 'Not specified' !!} @endif @if($event->last_payment_date && $event->last_payment_date > now()) Event Registration Options {{-- Alumni --}} @auth Alumni Registration For BAU 2001-2002 Alumni already registered Select this option {{-- Alumni Section (only show Sign in if not logged in) --}} @else As Alumni You Need to Sign in @endauth {{-- Guest --}} @if ($event->is_guest_allowed) Guest Registration For guests invited by organizer and have the Guest ID Select this option @endif {{-- Guest Info --}} @if ($event->is_guest_allowed) Guest Information {{-- Guest fields as before --}} Guest Name Cell Number Email Address Invitation OTP Job Title/Designation Organization Purpose for Attending Comments @endif Registration Form Day-Based Participation Select your preferred participation duration: @php $full_reservation_offers = []; $total_fee_member = 0; $total_fee_guest = 0; foreach ($event->dates as $day) { if (!empty($day->day_offer)) { $full_reservation_offers = array_merge($full_reservation_offers, array_map('trim', explode(',', $day->day_offer) ) ); } $total_fee_member += (int)$day->fee; $total_fee_guest += (int)$day->other_guest_fee; } $full_reservation_offers = array_unique($full_reservation_offers); @endphp {{-- Full Reservation @if($firstStart->isSameDay($lastEnd)) {{ $firstStart->format('M j, Y') }} ({{ $firstStart->format('g:i A') }} - {{ $lastEnd->format('g:i A') }}) @else {{ $firstStart->format('M j, Y g:i A') }} - {{ $lastEnd->format('M j, Y g:i A') }} @endif @if (!empty($full_reservation_offers)) @foreach ($full_reservation_offers as $full_reservation_offer) {{ $full_reservation_offer }} @endforeach @endif ৳{{ number_format($total_fee_member ?? 0, 2) }} (Alumni)/ ৳{{ number_format($total_fee_guest ?? 0, 2) }} (Guest) --}} @foreach ($event->dates as $item) {{ $item->event_segment_name }} @php $single_day_start_date = \Carbon\Carbon::parse($item->start_date_time); $single_day_end_date = \Carbon\Carbon::parse($item->end_date_time); @endphp @if($single_day_start_date->isSameDay($single_day_end_date)) {{ $single_day_start_date->format('M j, Y') }} ({{ $single_day_start_date->format('g:i A') }} - {{ $single_day_end_date->format('g:i A') }}) @else {{ $single_day_start_date->format('M j, Y g:i A') }} - {{ $single_day_end_date->format('M j, Y g:i A') }} @endif @if (!empty($item->day_offer)) @foreach (explode(',', $item->day_offer) as $single_day_offer) {{ $single_day_offer }} @endforeach @endif ৳{{ number_format($item->fee ?? 0, 2) }} (Alumni)/ ৳{{ number_format($item->other_guest_fee ?? 0, 2) }} (Guest) {{----}} Select Package @endforeach Attendee Categories {{-- Alumni (Self) Primary attendee --}} Spouse Children (Below 5 Years) Children (5 to 12 Years) Children (Above 12 Years) Driver Maid Other Guest @if($event->is_accommodation_available) Special Requirements @endif I agree to the Terms and Conditions and Privacy Policy @endif @if($event->last_payment_date && $event->last_payment_date > now()) Payment Summary Select Day Participation and number of attendees to see your payment summary. Subtotal: ৳0.00 {{-- --}} {{-- Payment Gateway Processing Fee:--}} {{-- ৳0.00--}} {{-- --}} Software Maintenance Fee: 5% Total: ৳0.00 (Subtotal + Maintenance Fee) @auth @else {{-- --}} {{-- Please login--}} {{-- --}} @endauth Payment Method Credit Card PayPal Card Number Expiry Date CVV Name on Card You will be redirected to PayPal to complete your payment Pay with PayPal Complete Payment Payment Successful! Thank you for registering for the BAU 2001-2002 alumni reunion 2026. A confirmation email with event details has been sent to your registered email address. Your registration ID: AL2023-0000 @else Payment Summary Payment date expired @endif @endsection @push('js') @endpush
{{ $event->name ?? '' }}
{{ $event->venue ?? '' }}
{{ $event->category ?? '' }}
@if($firstStart->isSameDay($lastEnd)) {{ $firstStart->format('M j, Y') }} ({{ $firstStart->format('g:i A') }} - {{ $lastEnd->format('g:i A') }}) @else {{ $firstStart->format('M j, Y g:i A') }} - {{ $lastEnd->format('M j, Y g:i A') }} @endif
{{ $event->last_payment_date? \Carbon\Carbon::parse($event->last_payment_date)->format('M j, Y g:i A') : 'Not specified' }}
{{ $event->expected_attendees ?: 'Not specified' }}
{!! $event->description ?: 'Not specified' !!}
For BAU 2001-2002 Alumni already registered
For guests invited by organizer and have the Guest ID
Select your preferred participation duration:
৳{{ number_format($total_fee_member ?? 0, 2) }} (Alumni)/ ৳{{ number_format($total_fee_guest ?? 0, 2) }} (Guest)
@if($single_day_start_date->isSameDay($single_day_end_date)) {{ $single_day_start_date->format('M j, Y') }} ({{ $single_day_start_date->format('g:i A') }} - {{ $single_day_end_date->format('g:i A') }}) @else {{ $single_day_start_date->format('M j, Y g:i A') }} - {{ $single_day_end_date->format('M j, Y g:i A') }} @endif
৳{{ number_format($item->fee ?? 0, 2) }} (Alumni)/ ৳{{ number_format($item->other_guest_fee ?? 0, 2) }} (Guest)
Primary attendee
Select Day Participation and number of attendees to see your payment summary.
Credit Card
PayPal
You will be redirected to PayPal to complete your payment
Thank you for registering for the BAU 2001-2002 alumni reunion 2026. A confirmation email with event details has been sent to your registered email address.
Your registration ID: AL2023-0000
Payment date expired