Notification Centre
@php $notificationCount = 0; @endphp
Default Avatar
@if (count($missingFields) > 0)

Pending Upload:

Hi, {{ $user->first_name }}! Please upload the following missing information:

    @foreach ($missingFields as $field)
  • {{ $field }}
  • @endforeach
@php $notificationCount++; @endphp @else

All Information Complete

Thank you for providing all the necessary information!

@endif
2 August 2024
@php $pendingItems = []; foreach ($paymentStatuses as $coverType => $status) { if ($status === 'pending') { $pendingItems[] = $coverType; } } @endphp @if (count($pendingItems) > 0)
Default Avatar

Pending Payments:

Hi, {{ $user->first_name }}! Please complete the following payments:

    @foreach ($pendingItems as $item)
  • {{ $item }}
  • @endforeach
{{ \Carbon\Carbon::now()->format('j F Y') }}
@else

All payments are complete.

@endif @if ($daysRemaining !== null && $daysRemaining <= 2)
Default Avatar

Your {{ $coverType }} policy is about to expire

@if ($autorenew === 'on')

Since auto-renew is on, you don't need to do anything.

@else

You've chosen not to auto-renew. Click here to renew now or your policy will be cancelled for the following term.

@endif

Days remaining: {{ $daysRemaining }}

@php $notificationCount++; @endphp
31 July 2024
@endif @php $notificationCount++; @endphp

You have {{ $notificationCount }} notifications