Skip to content

A free open source IT asset/license management system

Merge pull request #19126 from uberbrady/change_default_queue

snipe9f0df8a4ffe3
diff --cc app/Notifications/RequestAssetCancelation.php
index 198ecd5308,2acb64b4d4..7d9463fb03
--- a/app/Notifications/RequestAssetCancelation.php
+++ b/app/Notifications/RequestAssetCancelation.php
@@@ -10,15 -12,18 +12,22 @@@ use Illuminate\Notifications\Notificati
use Illuminate\Support\Facades\Log;
use Symfony\Component\Mime\Email;
- #[AllowDynamicProperties]
- class RequestAssetCancelation extends Notification
+ class RequestAssetCancelation extends Notification implements ShouldQueue
{
- private $params;
+ use Queueable;
+
+ public $target;
+ public $item;
+ public $note;
+ public $last_checkout;
+ public $item_quantity;
+ public $expected_checkin;
+ public $requested_date;
+ public $start_date;
+
+ public $end_date;
+
/**
* Create a new notification instance.
*/
diff --cc app/Notifications/RequestAssetNotification.php
index e6f5c43e22,ac9666ae93..004f204bed
--- a/app/Notifications/RequestAssetNotification.php
+++ b/app/Notifications/RequestAssetNotification.php
@@@ -9,15 -10,18 +10,22 @@@ use Illuminate\Notifications\Messages\S
use Illuminate\Notifications\Notification;
use Symfony\Component\Mime\Email;
- #[AllowDynamicProperties]
- class RequestAssetNotification extends Notification
+ class RequestAssetNotification extends Notification implements ShouldQueue
{
- private $params;
+
+ public $target;
+ public $item;
+ public $item_type;
+ public $item_quantity;
+ public $note = '';
+ public $last_checkout = '';
+ public $expected_checkin = '';
+ public $requested_date;
+ public $start_date;
+
+ public $end_date;
+
/**
* Create a new notification instance.
*/