@php $otpExpiresIn = $user->otp_expires_at ? max(1, (int) ceil(now()->diffInSeconds($user->otp_expires_at, false) / 60)) : null; try { $requestedAt = now()->timezone($user->timezone ?: 'UTC')->format('d M Y, H:i T'); } catch (\Throwable $e) { $requestedAt = now()->format('d M Y, H:i') . ' UTC'; } @endphp Your eSIM Card login code
{{ $otp }} is your eSIM Card login code.@if($otpExpiresIn) It expires in {{ $otpExpiresIn }} {{ $otpExpiresIn == 1 ? 'minute' : 'minutes' }}.@endif ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌