commit 08-2025

This commit is contained in:
Kevin Adametz 2025-08-12 18:01:59 +02:00
parent 9ae662f63e
commit 480fdc65ed
404 changed files with 65310 additions and 2600431 deletions

View file

@ -0,0 +1,43 @@
<?php
namespace App\Mail;
use App\User;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class MailOTPCustomer extends Mailable
{
use Queueable, SerializesModels;
protected $otp;
protected $email;
public $subject;
public function __construct($otp, $email)
{
$this->otp = $otp;
$this->email = $email;
$this->subject = __('portal.mail_subject');
}
public function build()
{
return $this->view('emails.auth')->with([
'otp' => $this->otp,
'url' => route('portal.login.otp.form', ['email' => $this->email, 'otp' => $this->otp]),
'button' => __('portal.login_button'),
'salutation' => __('portal.mail_hello'),
'copy1line' => __('portal.mail_otp'),
'copy2line' => __('portal.mail_otp_valid'),
'copy3line' => __('portal.mail_otp_not_requested'),
'greetings' => __('portal.mail_greetings'),
'sender' => __('portal.mail_sender'),
]);
}
}