A free open source IT asset/license management system
Add note
Marcus Moorec6e2fd2cab2a
diff --git a/app/Events/CheckoutablesCheckedOutInBulk.php b/app/Events/CheckoutablesCheckedOutInBulk.phpindex 6dd8ccde7a..4b75b32145 100644--- a/app/Events/CheckoutablesCheckedOutInBulk.php+++ b/app/Events/CheckoutablesCheckedOutInBulk.php@@ -18,6 +18,7 @@ class CheckoutablesCheckedOutInBulkpublic User $admin,public string $checkout_at,public string $expected_checkin,+ public string $note,) {}}diff --git a/app/Listeners/CheckoutablesCheckedOutInBulkListener.php b/app/Listeners/CheckoutablesCheckedOutInBulkListener.phpindex b1bed1064e..25b821c60c 100644--- a/app/Listeners/CheckoutablesCheckedOutInBulkListener.php+++ b/app/Listeners/CheckoutablesCheckedOutInBulkListener.php@@ -25,6 +25,7 @@ class CheckoutablesCheckedOutInBulkListener$event->admin,$event->checkout_at,$event->expected_checkin,+ $event->note,));}}diff --git a/app/Mail/BulkAssetCheckoutMail.php b/app/Mail/BulkAssetCheckoutMail.phpindex 70715d0ec7..14fb8466b9 100644--- a/app/Mail/BulkAssetCheckoutMail.php+++ b/app/Mail/BulkAssetCheckoutMail.php@@ -23,6 +23,7 @@ class BulkAssetCheckoutMail extends Mailablepublic User $admin,public string $checkout_at,public string $expected_checkin,+ public string $note,) {$this->requires_acceptance = $this->requiresAcceptance();}diff --git a/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php b/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.phpindex 16c21e4d08..cd52bb4807 100644--- a/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php+++ b/resources/views/mail/markdown/bulk-asset-checkout-mail.blade.php@@ -27,6 +27,10 @@ One or more items require acceptance.<br>**{{ trans('mail.expecting_checkin_date') }}**: {{ Helper::getFormattedDateObject($expected_checkin, 'date', false) }}@endif+@if ($note)+**{{ trans('mail.additional_notes') }}**: {{ $note }}+@endif+<x-mail::table>| | || ------------- | ------------- |