From 70acc87a46bb6dbffa6c16a197b0ed5c625260d2 Mon Sep 17 00:00:00 2001 From: merdan Date: Wed, 6 May 2020 21:08:44 +0500 Subject: [PATCH] help desk notification ticketCommented --- app/Notifications/TicketReceived.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Notifications/TicketReceived.php b/app/Notifications/TicketReceived.php index 272e73cb..e1d71e7c 100644 --- a/app/Notifications/TicketReceived.php +++ b/app/Notifications/TicketReceived.php @@ -7,6 +7,7 @@ use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; +use Illuminate\Support\Facades\Log; class TicketReceived extends Notification implements ShouldQueue { @@ -55,6 +56,8 @@ class TicketReceived extends Notification implements ShouldQueue ->line('You have new ticket') ->action('Notification Action', route('ticket.replay',['id'=>$this->ticket->id])) ->line('Thank you for using our application!'); + + Log::info('Mail Notification: ',$notifiable); } /** @@ -66,5 +69,6 @@ class TicketReceived extends Notification implements ShouldQueue public function toDatabase($notifiable) { return $this->ticket->toArray(); + Log::info('Database Notification: ',$notifiable); } }