@extends('mails.v2.layout.v2-email-layout-new') @section('content')
Hello {{ $user->name ?? 'User' }},
Your exam for {{ isset($exam) ? $exam->name : 'Computer Science' }} has been successfully scheduled. To confirm your participation, please complete the exam fee payment before the exam date.
| Class: | {{ isset($class) ? $class->name : 'Computer Science' }} | |
| Date: | {{ isset($exam) ? \Carbon\Carbon::parse($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: | @php $duration = Carbon\Carbon::parse($duration); if ($duration) { $hours = $duration->format('G'); $minutes = $duration->format('i'); $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) ? number_format($exam->price, 2) . '' : '1,000 NGN' }} |
Use the button below to pay you exam fees
Pay NowWe wish you the very best in your exam.