help desk notification ticketreceived fix
This commit is contained in:
parent
d4929d66dd
commit
8f0806e53f
|
|
@ -53,6 +53,7 @@ class TicketReceived extends Notification implements ShouldQueue
|
|||
public function toMail($notifiable)
|
||||
{
|
||||
try{
|
||||
Log::info('Mail Notification: ',$notifiable);
|
||||
if($notifiable instanceof HelpTicket){
|
||||
return (new MailMessage)
|
||||
->line('The introduction to the notification.')
|
||||
|
|
@ -67,7 +68,7 @@ class TicketReceived extends Notification implements ShouldQueue
|
|||
->action('Notification Action', route('ticket.replay',['id'=>$this->ticket->id]))
|
||||
->line('Thank you for using our application!');
|
||||
|
||||
Log::info('Mail Notification: ',$notifiable);
|
||||
|
||||
}
|
||||
catch (\Exception $ex){
|
||||
Log::error($ex);
|
||||
|
|
|
|||
Loading…
Reference in New Issue