@if($notifications->count())
-
@foreach ($notifications as $notification)
@php
$notification_link = notification_link($notification);
@endphp
@if($notification->type == 'OrderPaid')
-
{{ jdate($notification->created_at)->ago() }}
سفارش جدید ثبت شد
{{ $notification->data['message'] }}
@elseif($notification->type == 'UserRegistered')
-
{{ jdate($notification->created_at)->ago() }}
کاربر جدید ثبت نام کرد
{{ $notification->data['message'] }}
@elseif($notification->type == 'ContactCreated')
-
{{ jdate($notification->created_at)->ago() }}
پیام جدید دریافت شد
{{ $notification->data['message'] }}
@endif
@if ($notification_link)
@endif
@endforeach
چیزی برای نمایش وجود ندارد!
@endif