vendredi 31 juillet 2020

How can I make notification recieved count for each user

Whenever admin sends message to a user I want the notification to appear on user dashboard as a counter on the menu, below is the code i have tried in my header menu

<li class="nav-item">
@foreach($Notif as $notification)
<a href="">Notification <span>    

</span></a>
@endforeach
</li>

Image of where notification is on header (user header)

Image of admin panel to send message to user



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/319jAj1
via IFTTT

Aucun commentaire:

Enregistrer un commentaire