mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Merge pull request #15531 from Godmartinz/status-doesnt-update-in-email
Fixed mail notification field `status label` not updating
This commit is contained in:
commit
eef487d61b
|
@ -192,10 +192,9 @@ public function toGoogleChat()
|
||||||
* @return \Illuminate\Notifications\Messages\MailMessage
|
* @return \Illuminate\Notifications\Messages\MailMessage
|
||||||
*/
|
*/
|
||||||
public function toMail()
|
public function toMail()
|
||||||
{
|
{ $this->item->load('assetstatus');
|
||||||
$eula = method_exists($this->item, 'getEula') ? $this->item->getEula() : '';
|
$eula = method_exists($this->item, 'getEula') ? $this->item->getEula() : '';
|
||||||
$req_accept = method_exists($this->item, 'requireAcceptance') ? $this->item->requireAcceptance() : 0;
|
$req_accept = method_exists($this->item, 'requireAcceptance') ? $this->item->requireAcceptance() : 0;
|
||||||
|
|
||||||
$fields = [];
|
$fields = [];
|
||||||
|
|
||||||
// Check if the item has custom fields associated with it
|
// Check if the item has custom fields associated with it
|
||||||
|
|
Loading…
Reference in a new issue