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



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire