@if ($message = Session::get('success'))

Thank you for booking, {{ $ycm->firstname }}.

Please now check your email for further information.

Workshop Booked {{$course->name }} {{ date('d F' , strtotime($course->start_date)) }} – {{ date('d F Y' , strtotime($course->end_date)) }}
@elseif ($message = Session::get('error')) @elseif ($message = Session::get('info')) @else {{-- Show previous payment attempts if any --}} @if($previousAttempts->count() > 0)

Previous Payment Attempts

@foreach($previousAttempts->take(3) as $attempt)
{{ $attempt->getPaymentDescription() }}
{{ $attempt->created_at->format('M j, Y g:i A') }} - {{ ucfirst($attempt->payment_status) }} - £{{ $attempt->amount }}
@if($attempt->hasEmailMismatch())
⚠️ Paid with different email: {{ $attempt->payer_email }}
@endif
@if($attempt->canBeResumed()) Resume Payment @endif
@endforeach @if($previousAttempts->count() > 3)
... and {{ $previousAttempts->count() - 3 }} more attempts
@endif
@endif

Thanks! Your booking information has been submitted.

{{$course->name }} {{ date('d F' , strtotime($course->start_date)) }} – {{ date('d F Y' , strtotime($course->end_date)) }} Price: £{{$course->price }}

Please click on the link below to pay for your workshop.

Your booking will not be complete until you have paid.

Pay with PayPal
@endif