{{ $this->crud }} YCM @if ($form->auditionee_id) - {{ $form->auditionee->firstname }} {{ $form->auditionee->lastname }} ({{ $form->auditionee->age() }}yrs) @endif
@if ($form->auditionee_id) @foreach($form->auditionee->tags() as $key => $tag) {{ $tag }} @endforeach @endif
Details @if ($form->auditionee_id) Experience Pastoral Info NYMT Experience Casting Info Transactions @endif @error('form.firstname') {{ $message }} @enderror @error('form.lastname') {{ $message }} @enderror @error('form.formalname') {{ $message }} @enderror @error('form.email') {{ $message }} @enderror @error('form.secondary_email') {{ $message }} @enderror @error('form.gender') {{ $message }} @enderror @error('form.dob') {{ $message }} @enderror @error('form.tel') {{ $message }} @enderror @error('form.emergency_contact') {{ $message }} @enderror @error('form.emergency_relationship') {{ $message }} @enderror @error('form.emergency_tel') {{ $message }} @enderror @error('form.address') {{ $message }} @enderror @error('form.town') {{ $message }} @enderror @error('form.postcode') {{ $message }} @enderror @foreach (App\Enums\Country::cases() as $country) @endforeach @error('form.country') {{ $message }} @enderror @if ($form->auditionee_id) @if ($form->category == "cpp") @endif Pastoral Information @if ($form->nymt_experience == 0) @if ($form->nymt_experience_no == 'Other') @endif @endif @if ($form->nymt_experience != '0') @endif @if ($form->film_permission == '2') @endif @error('form.education') {{ $message }} @enderror Course/Casting Information Please tell us if you have recently experienced or are experiencing any of the follow Dietary requirements @error('form.emergency_2_contact') {{ $message }} @enderror @error('form.emergency_2_relationship') {{ $message }} @enderror @error('form.emergency_2_tel') {{ $message }} @enderror @if ($form->casting_consent == "agree_exceptions") @endif {{-- Payment Summary Section --}} @if(count($paymentSummary) > 0)
Payment Overview @if(count($unpaidItems) > 0)

🚨 Unpaid Items ({{ count($unpaidItems) }})

@foreach($unpaidItems as $item)
{{ $item['description'] }}
Amount: £{{ $item['amount'] }} @if(isset($item['venue_info'])) | {{ $item['venue_info'] }} @endif @if(isset($item['course_dates'])) | {{ $item['course_dates'] }} @endif
{{-- Check for resumable transactions --}} @php $resumableTransactions = $this->getResumableTransactions($item['type'], $item['id']); @endphp @if($resumableTransactions->count() > 0) @foreach($resumableTransactions as $resumable) @if($item['type'] === 'course') Resume Payment @else Resume Payment @endif @endforeach @else Pay Now @endif
@endforeach
@else

✅ All payments up to date!

All auditions and courses have been paid for.

@endif
@endif {{-- Enhanced Transaction History --}} Item Date Status Amount Details @forelse($form->auditionee->transactions->sortByDesc('created_at') as $transaction)
{{ $transaction->getPaymentDescription() }}
@if($transaction->getVenueInfo())
{{ $transaction->getVenueInfo() }}
@endif
{{ $transaction->created_at->format('M j, Y') }}
{{ $transaction->created_at->format('g:i A') }}
{{ ucfirst($transaction->payment_status) }} @if($transaction->hasEmailMismatch())
⚠️ Email mismatch
@endif
£{{ $transaction->amount }}
@if($transaction->canBeResumed()) @if($transaction->type === 'COURSE') Resume Payment @else Resume Payment @endif @endif @if($transaction->paypal_order_id)
PayPal: {{ substr($transaction->paypal_order_id, 0, 8) }}...
@endif @if($transaction->payer_email && $transaction->hasEmailMismatch())
Paid by: {{ $transaction->payer_email }}
@endif
@empty No payment transactions found. @endforelse
@endif