I use standard Laravel notification table. in data column i have
{"type":"New Appointment","project":"1","assign_to":"80"}
And in notification blade
for
This displays as
New Appointment for 80
But i want to join data['assign_to'} with User model and get user_name. Which displays as
New Appointment for John
What is the best way to use Eloquent in Laravel view
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire