@php use App\Models\Invoice;$notificationUser = Invoice::find($notification->data['id']); @endphp @if ($notificationUser) @endif