refreshed the assetstatus relationship

This commit is contained in:
Godfrey M 2024-09-19 12:23:07 -07:00
parent dddbf27d78
commit 71dbc7abb0

View file

@ -192,10 +192,9 @@ public function toGoogleChat()
* @return \Illuminate\Notifications\Messages\MailMessage
*/
public function toMail()
{
{ $this->item->load('assetstatus');
$eula = method_exists($this->item, 'getEula') ? $this->item->getEula() : '';
$req_accept = method_exists($this->item, 'requireAcceptance') ? $this->item->requireAcceptance() : 0;
$fields = [];
// Check if the item has custom fields associated with it