help desk notification ticketCommented
This commit is contained in:
parent
1cfa46f4dd
commit
a110c3a5a1
|
|
@ -56,12 +56,14 @@ class TicketReceived extends Notification implements ShouldQueue
|
||||||
if($notifiable instanceof HelpTicket){
|
if($notifiable instanceof HelpTicket){
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->line('The introduction to the notification.')
|
->line('The introduction to the notification.')
|
||||||
|
->line($this->ticket->text)
|
||||||
->action('Notification Action', route('help.show',['code' => $this->ticket->code]))
|
->action('Notification Action', route('help.show',['code' => $this->ticket->code]))
|
||||||
->line('Thank you for using our application!');
|
->line('Thank you for using our application!');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->line('You have new ticket')
|
->line('You have new ticket')
|
||||||
|
->line($this->ticket->text)
|
||||||
->action('Notification Action', route('ticket.replay',['id'=>$this->ticket->id]))
|
->action('Notification Action', route('ticket.replay',['id'=>$this->ticket->id]))
|
||||||
->line('Thank you for using our application!');
|
->line('Thank you for using our application!');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue