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

Complete Your Exam Fee Payment

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.

Examination Details

@php [$hours, $minutes, $seconds] = explode(':', $duration); $datetime = isset($exam) ? \Carbon\Carbon::parse($start_date) ->addHours((int) $hours) ->addMinutes((int) $minutes) ->addSeconds((int) $seconds) ->timezone($user->timezone) : \Carbon\Carbon::now(); @endphp {{-- --}}
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 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