@extends('mails.v2.layout.v2-email-layout-new') @section('content')
support

Reminder – Complete Your Exam Fee Payment

Hello {{ $user->name ?? 'User' }},

This is a friendly reminder that your scheduled exam for {{ isset($exam) ? $exam->name : 'Computer Science' }} is coming up, and your exam fee has not yet been paid.

Examination Details

@php $datetime = isset($batch) ? \Carbon\Carbon::parse($batch?->date . ' ' . $batch?->time)->timezone($platform->timezone) : \Carbon\Carbon::now(); @endphp
Class: {{ isset($class) ? $class->name : 'Computer Science' }}
Date: {{ isset($exam) ? \Carbon\Carbon::parse($exam->pivot->start_date)->format('F d, Y') : 'November 30, 2024' }}
Time: {{-- {{ $datetime ? $datetime?->format('h:i A (T)') : '10:00 AM (WAT)' }} --}} {{ $datetime ? $datetime->copy()->setTimezone(auth()->user()->timezone ?? config('app.timezone'))->format('g:i A (T)') : '10:00 AM (WAT)' }}
Duration: {{-- {{ isset($exam) ? Carbon::parse($exam->pivot->duration)->format('h hour i minutes') : '1 hour 30 minutes' }} --}} @php $duration = isset($exam) ? Carbon\Carbon::parse($exam->pivot->duration) : null; if ($duration) { $hours = $duration->format('H'); // 00–23 $minutes = $duration->format('i'); // 00–59 $hourText = $hours == 1 ? '1 hour' : ($hours > 0 ? $hours . ' hours' : ''); $minuteText = $minutes == 1 ? '1 minute' : ($minutes > 0 ? $minutes . ' minutes' : ''); $durationText = trim($hourText . ($hourText && $minuteText ? ', ' : '') . $minuteText); } else { $durationText = '1 hour 30 minutes'; } @endphp {{ $durationText }}
Exam Fee: {{ isset($exam) ? $exam->price . '' : '1,000 NGN' }}

Please complete your payment as soon as possible to confirm your participation.

Pay Now

We wish you the very best in your exam.

Note: This is an automated message generated because your email was added to the invite. @endsection