-
I'm using Laravel notifications to send email notification now I've to change the logo of the header dynamically so I need to pass variable from the notification class. I see many blogs suggesting I'm using the default header file which I get by publishing the vendor:publish SendInvoiceToCustomerNotification.php
message.blade.php
header.blade.php
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Link for the original discussion Notification Class
resources/views/vendor/notifications/email.blade.php This works like a charm! No additional views no custom coding, just a single line and it will do all the work for you. |
Beta Was this translation helpful? Give feedback.
Link for the original discussion
Notification Class
resources/views/vendor/notifications/email.blade.php
<x-mail::message :logo="$logo">
This works like a charm! No additional views no custom coding…