mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
edited terenaries on notifs
This commit is contained in:
parent
854903805b
commit
ae4f278df1
|
@ -162,7 +162,7 @@ class CheckinAssetNotification extends Notification
|
||||||
$message = (new MailMessage)->markdown('notifications.markdown.checkin-asset',
|
$message = (new MailMessage)->markdown('notifications.markdown.checkin-asset',
|
||||||
[
|
[
|
||||||
'item' => $this->item,
|
'item' => $this->item,
|
||||||
'status' => $this->item->assetstatus->name ?: '',
|
'status' => $this->item->assetstatus?->name,
|
||||||
'admin' => $this->admin,
|
'admin' => $this->admin,
|
||||||
'note' => $this->note,
|
'note' => $this->note,
|
||||||
'target' => $this->target,
|
'target' => $this->target,
|
||||||
|
|
|
@ -209,7 +209,7 @@ public function toGoogleChat()
|
||||||
[
|
[
|
||||||
'item' => $this->item,
|
'item' => $this->item,
|
||||||
'admin' => $this->admin,
|
'admin' => $this->admin,
|
||||||
'status' => $this->item->assetstatus->name ?: '',
|
'status' => $this->item->assetstatus?->name,
|
||||||
'note' => $this->note,
|
'note' => $this->note,
|
||||||
'target' => $this->target,
|
'target' => $this->target,
|
||||||
'fields' => $fields,
|
'fields' => $fields,
|
||||||
|
|
Loading…
Reference in a new issue