Updated ->present()->fullName() to ->display_name

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-08-25 14:57:34 +01:00
parent fc091c1174
commit b6d397bcca
72 changed files with 217 additions and 199 deletions
+2 -2
View File
@@ -31,10 +31,10 @@ class CheckoutLicenseMail extends Mailable
$this->target = $checkedOutTo;
if($this->target instanceof User){
$this->target = $this->target->present()?->fullName();
$this->target = $this->target->display_name;
}
elseif($this->target instanceof Asset){
$this->target = $this->target->assignedto?->present()?->fullName();
$this->target = $this->target->display_name;
}
}