mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
cha cha cha changes
This commit is contained in:
parent
cdcd868162
commit
befab608f2
|
@ -103,11 +103,15 @@ class CheckinAssetNotification extends Notification
|
||||||
return MicrosoftTeamsMessage::create()
|
return MicrosoftTeamsMessage::create()
|
||||||
->to($this->settings->webhook_endpoint)
|
->to($this->settings->webhook_endpoint)
|
||||||
->type('success')
|
->type('success')
|
||||||
|
->addStartGroupToSection('header')
|
||||||
->title("Asset Checked in")
|
->title("Asset Checked in")
|
||||||
->fact($item->present()->name, '')
|
->fact(htmlspecialchars_decode($item->present()->name), '', 'header')
|
||||||
->fact('Checked into ', $item->location->name)
|
->fact('Checked into ', $item->location->name)
|
||||||
->fact(trans('mail.Asset_Checkin_Notification')." by ", $admin->present()->fullName())
|
->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');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue