@if(session()->has('notifications') && count(session()->get('notifications')) > 0)
@foreach(session()->get('notifications') as $notifi)
@if($notifi->type=='booking' && $notifi->action=='cancelled')
@elseif($notifi->type=='booking' && $notifi->action=='confirmed')
@elseif($notifi->type=='point' && $notifi->action=='POINTS_PURCHASED')
Purchased Points
{!! $notifi->content !!}
@elseif($notifi->type=='point' && $notifi->action=='POINTS_RECEIVED')
Points Received
{!! $notifi->content !!}
@elseif($notifi->type=='point' && $notifi->action=='POINTS_EXPIRED')
Points Expired
{!! $notifi->content !!}
@elseif($notifi->type=='point' && $notifi->action=='POINTS_SENT')
Points Sent
{!! $notifi->content !!}
@elseif($notifi->type=='point' && $notifi->action=='POINTS_SENT_EVENT')
Points Sent For EVENT
{!! $notifi->content !!}
@elseif($notifi->type=='point' && $notifi->action=='POINTS_RECEIVED_EVENT')
Points Received For Event
{!! $notifi->content !!}
@elseif($notifi->type=='point' && $notifi->action=='MEMBERSHIP_CREDIT')
Membership Credit
{!! $notifi->content !!}
@elseif($notifi->type=='subscription' && $notifi->action=='cancelled')
Subscription Cancelled
{!! $notifi->content !!}
@endif
@endforeach
@else
Notifications not available.
@endif