From 5120cddda494f9ceecc0e969181112e6e52eef1e Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Thu, 5 Dec 2024 16:02:55 -0800 Subject: [PATCH] delete notification version of reminder --- .../UnacceptedAssetReminderNotification.php | 73 ------------------- 1 file changed, 73 deletions(-) delete mode 100644 app/Notifications/UnacceptedAssetReminderNotification.php diff --git a/app/Notifications/UnacceptedAssetReminderNotification.php b/app/Notifications/UnacceptedAssetReminderNotification.php deleted file mode 100644 index e05b00703..000000000 --- a/app/Notifications/UnacceptedAssetReminderNotification.php +++ /dev/null @@ -1,73 +0,0 @@ -count = $count; - $this->target = $checkout_info['acceptance']->assignedTo; - $this->acceptance = $checkout_info['acceptance']; - - } - - /** - * Get the notification's delivery channels. - * - * @param mixed $notifiable - * @return array - */ - public function via() - { - return ['mail']; - } - - /** - * Get the mail representation of the notification. - * - * @param mixed $notifiable - * @return \Illuminate\Notifications\Messages\MailMessage - */ - public function toMail() - { - $accept_url = route('account.accept'); - $message = (new MailMessage)->markdown('notifications.markdown.asset-reminder', - [ - 'count' => $this->count, - 'assigned_to' => $this->target->present()->fullName, - 'link' => route('account.accept'), - 'accept_url' => $accept_url, - ]) - ->subject(trans('mail.unaccepted_asset_reminder')); - - return $message; - } - - /** - * Get the array representation of the notification. - * - * @param mixed $notifiable - * @return array - */ - public function toArray($notifiable) - { - return [ - // - ]; - } -}