mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
v5.0.0 update
This commit is contained in:
@ -30,10 +30,7 @@ class EstimateViewedMail extends Mailable
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
$email = $this->data['user']['email'];
|
||||
$name = $this->data['user']['name'];
|
||||
|
||||
return $this->from($email, $name)
|
||||
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||
->markdown('emails.viewed.estimate', ['data', $this->data]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,10 +30,7 @@ class InvoiceViewedMail extends Mailable
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
$email = $this->data['user']['email'];
|
||||
$name = $this->data['user']['name'];
|
||||
|
||||
return $this->from($email, $name)
|
||||
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||
->markdown('emails.viewed.invoice', ['data', $this->data]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
namespace Crater\Mail;
|
||||
|
||||
use Config;
|
||||
use Crater\Models\EmailLog;
|
||||
use Crater\Models\Invoice;
|
||||
use Illuminate\Bus\Queueable;
|
||||
|
||||
Reference in New Issue
Block a user