@php
$name = '';
$count = count($notification->data['birthday_name']) - 1;
$name = $notification->data['birthday_name'][0]['name'];
$date = \Carbon\Carbon::parse($notification->data['birthday_name'][0]['date_of_birth'])->timezone($global->timezone)->translatedFormat('Y-m-d');
$formatDate = \Carbon\Carbon::parse($date)->timezone($global->timezone)->translatedFormat('j M');
if ($count == 0) {
$title = $name . ' ' . __('email.BirthdayReminder.birthdayNotification');
}
else {
$title = $name . ' ' . __('app.and') . ' ' . $count . __('email.BirthdayReminder.birthdayNotificationText');
}
$notificationUser = \App\Models\User::find($notification->data['birthday_name'][0]['id']);
@endphp
@if ($notificationUser)
@if (\Carbon\Carbon::today()->timezone($global->timezone)->toDateString() == $date)
@else
@endif
@endif