This commit is contained in:
parent
3e2f85ef31
commit
83bb8a4855
2 changed files with 4 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ class AlertBr extends Mailable
|
|||
|
||||
public $couponSeuil;
|
||||
public $couponDiffusion;
|
||||
public $sitename;
|
||||
public $subject;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -26,7 +26,7 @@ class AlertBr extends Mailable
|
|||
{
|
||||
$this->couponSeuil = $couponSeuil;
|
||||
$this->couponDiffusion = $couponDiffusion;
|
||||
$this->sitename = $sitename;
|
||||
$this->subject = 'Notification mes BR : '.$sitename;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -36,6 +36,6 @@ class AlertBr extends Mailable
|
|||
*/
|
||||
public function build()
|
||||
{
|
||||
return $this->view('mail.alert')->subject('Notification mes BR : '.$this->sitename)->with(['couponSeuil' => $this->couponSeuil, 'couponDiffusion' => $this->couponDiffusion]);
|
||||
return $this->subject($this->subject)->view('mail.alert')->with(['couponSeuil' => $this->couponSeuil, 'couponDiffusion' => $this->couponDiffusion]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
@endif
|
||||
{{-- Alerte de max date diffusion --}}
|
||||
@if (!empty($couponDiffusion))
|
||||
<p style='font-family: arial; font-size:15px; color: #393939; font-weight: bold;'>Coupons en fin de diffusion d'ici 7 jours :<p><br/>
|
||||
<p style='font-family: arial; font-size:15px; color: #393939; font-weight: bold;'>Coupons en fin de diffusion d'ici 30 jours :<p><br/>
|
||||
|
||||
<table align='center' cellpadding='0' cellspacing='0'style='font-family:arial; color: #3F3F3F; font-size:13px;' >
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue