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){
|
||||
return (new MailMessage)
|
||||
->line('The introduction to the notification.')
|
||||
->line($this->ticket->text)
|
||||
->action('Notification Action', route('help.show',['code' => $this->ticket->code]))
|
||||
->line('Thank you for using our application!');
|
||||
}
|
||||
else
|
||||
return (new MailMessage)
|
||||
->line('You have new ticket')
|
||||
->line($this->ticket->text)
|
||||
->action('Notification Action', route('ticket.replay',['id'=>$this->ticket->id]))
|
||||
->line('Thank you for using our application!');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue