Customer Mail, Mails, Views Lead Customer
This commit is contained in:
parent
f1e0900a7a
commit
f53f17f9c1
46 changed files with 2217 additions and 1489 deletions
34
app/Mail/MailSendInfo.php
Normal file
34
app/Mail/MailSendInfo.php
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
namespace App\Mail;
|
||||
|
||||
use App\Models\TravelUserBookingFewo;
|
||||
use App\User;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
|
||||
class MailSendInfo extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
protected $travel_user_booking_fewo;
|
||||
public $subject;
|
||||
protected $content;
|
||||
|
||||
|
||||
public function __construct($subject, $content)
|
||||
{
|
||||
$this->subject = $subject;
|
||||
$this->content = $content;
|
||||
}
|
||||
|
||||
|
||||
public function build()
|
||||
{
|
||||
return $this->view('emails.content')->with([
|
||||
'content' => $this->content,
|
||||
'greetings' => __('Best regards'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue