@if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant" && isset(\Illuminate\Support\Facades\Auth::user()->restaurants->photos)) logo @else logo @endif
  • @if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant" && isset(\Illuminate\Support\Facades\Auth::user()->restaurants->order_notifications_unread)) @php $notifications = \Illuminate\Support\Facades\Auth::user()->restaurants->order_notifications_unread; @endphp
  • {!! $notifications->count() > 0?$notifications->count():"" !!}
    Notifications
    @if(isset($notifications) && $notifications->count() > 0) @foreach($notifications as $notification)
    {!! $notification->created_at !!}
    {!! $notification->notification_text !!}
    @endforeach @endif
    Show All Notifications
  • @endif
  • @if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant" && isset(\Illuminate\Support\Facades\Auth::user()->restaurants->photos)) @else @endif
    @if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant" && isset(\Illuminate\Support\Facades\Auth::user()->restaurants->photos)) @else @endif
    @if(\Illuminate\Support\Facades\Auth::user()->role=="restaurant")
    {!! \Illuminate\Support\Facades\Auth::user()->restaurants->name !!}
    Restaurants Owner
    @else
    Administrator
    @endif
    Change Password
    Logout