cha cha cha changes

This commit is contained in:
Godfrey M 2024-01-17 17:59:20 -08:00
parent cdcd868162
commit befab608f2

View file

@ -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');