help desk notification ticketCommented

This commit is contained in:
merdan 2020-05-06 22:28:28 +05:00
parent 1cfa46f4dd
commit a110c3a5a1
1 changed files with 2 additions and 0 deletions

View File

@ -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!');