@php use App\Models\EmployeeShift;use App\Models\User;use Carbon\Carbon;$notificationUser = User::find($notification->data['user_id']); $shift = EmployeeShift::find($notification->data['shift_id']); @endphp @if ($notificationUser && $shift) @endif