v5.0.0 update

This commit is contained in:
Mohit Panjwani
2021-11-30 18:58:19 +05:30
parent d332712c22
commit 082d5cacf2
1253 changed files with 88309 additions and 71741 deletions

View File

@ -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]);
}
}

View File

@ -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]);
}
}

View File

@ -2,7 +2,6 @@
namespace Crater\Mail;
use Config;
use Crater\Models\EmailLog;
use Crater\Models\Invoice;
use Illuminate\Bus\Queueable;