Merge branch 'fix_mail' into 'develop'

fix code emails

See merge request service-web-lab/gen-game-web!7
This commit is contained in:
Vincent BRIDIER 2022-08-31 08:33:06 +00:00
commit 47661c3ceb

View file

@ -38,11 +38,12 @@ class WinningProof extends Mailable implements ShouldQueue
{
$participation = $this->participation;
$user = $this->user;
$settings = $this->settings;
return $this->subject(
$this->settings->name . " : Preuves de gain de " . $this->user->lastname . " " . $this->user->firstname
)->view(
'front.basic.winning-proof-email',
compact('participation', 'user')
compact('participation', 'user', 'settings')
)->attach($this->sticker)->attach($this->ticket)->attach($this->barcode);
}
}