Source code Sponsor
{{--

Notifications

Example 1
Change deprecated html tags to text decoration classes (#29604)
Example 2
justify-content:between ⇒ justify-content:space-between (#29734)
Example 3
Update change-version.js (#29736)
Example 4
Regenerate package-lock.json (#29730)
Archive all
Mark all as read
--}}
Paweł Kuna
UI Designer
Status Profile Feedback
Settings Logout
  • Home
  • Ecommerce
    Products
  • Orders
    All Orders
    Pending Orders
    Processed Orders
    Packed Orders
    Shipped Orders
  • Withdraws
    Withdraw Methods
    Withdraw Requests
  • Store Profile
  • Settings
  • Support Tickets
  • {{--
  • Notifications @php $unreadCount = auth()->user()->unreadNotifications->count(); @endphp @if($unreadCount > 0) {{ $unreadCount }} @endif
  • --}}
@php $unreadCount = auth()->user()->unreadNotifications->count(); @endphp @if($unreadCount > 0) {{ $unreadCount }} @endif

Notifications

@php $notifications = auth()->user()->notifications()->latest()->take(10)->get(); @endphp @if($notifications->count() > 0) @foreach($notifications as $notification) @php $data = $notification->data; $isUnread = is_null($notification->read_at); $ticketId = $data['ticket_id'] ?? ''; $url = $ticketId ? route('vendor.tickets.show', $ticketId) : '#'; @endphp
@if($isUnread) @else @endif
{{ $data['ticket_subject'] ?? 'Ticket Message' }}
{{ $data['sender_name'] ?? 'System' }}: {{ Str::limit($data['message'] ?? '', 50) }}
{{ $notification->created_at->diffForHumans() }}
@endforeach @else
No notifications yet
@endif
View All
@csrf
{{ user()->name }}
Vendor
Store Profile
Settings Logout
@csrf