Skip to content

A free open source IT asset/license management system

cha cha cha changes

Godfrey Mbefab608f28c
diff --git a/app/Notifications/CheckinAssetNotification.php b/app/Notifications/CheckinAssetNotification.php
index 09f55bfc5e..0b04af904b 100644
--- a/app/Notifications/CheckinAssetNotification.php
+++ b/app/Notifications/CheckinAssetNotification.php
@@ -103,11 +103,15 @@ class CheckinAssetNotification extends Notification
return MicrosoftTeamsMessage::create()
->to($this->settings->webhook_endpoint)
->type('success')
+ ->addStartGroupToSection('header')
->title("Asset Checked in")
- ->fact($item->present()->name, '')
+ ->fact(htmlspecialchars_decode($item->present()->name), '', 'header')
->fact('Checked into ', $item->location->name)
->fact(trans('mail.Asset_Checkin_Notification')." by ", $admin->present()->fullName())
- ->fact('Asset Status', $item->assetstatus->name);
+ ->fact('Asset Status', $item->assetstatus->name)
+ ->fact('Notes', $note ?: 'No notes');
+// ->image($item->getImageUrl(), $item->model()->name, 'header');
+