{{-- @yield('title') @hasSection('back-url') Back @endif @hasSection('create-url') @hasSection('create-text') @yield('create-text') @else Create @endif @endif --}}
    @if (auth()->user()->isAdminLike())
  • Admin
  • @endif @can('point_redeem.view')
  • Redeem Points
  • @endcan @can('navbar.points')
  • {{ $userBonusPoints }} Points = {{setting('default_currency')}} {{ $userConvertedPoints }}{{setting('default_currency_symbol')}}
  • @endcan @can('navbar.notifications')
  • @forelse ($unreadNotifications->take(4) as $notification)
    @if ($notification->data['sender']) {{ getInitials($notification->data['sender']['name']) }} @else {{ getInitials('Loyalty Referral') }} @endif
    {{ $notification->data['title'] }} {!! $notification->data['message'] !!} {{ $notification->created_at->diffForHumans() }}
    @empty
    No new notifications
    @endforelse
    View All
  • @endcan
    • @if ((!auth()->user()->isAdminLike() && auth()->user()->can('user.edit')) || (auth()->user()->isAdminLike() && auth()->user()->can('user.detail')))
    • My Profile
    • @endif
    • @csrf