Se modifican procesos para pagos en linea a travez de stripe
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
use Illuminate\Notifications\Notification;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
|
||||
class SetInitialPassword extends Notification
|
||||
{
|
||||
public $token;
|
||||
|
||||
public function __construct($token)
|
||||
{
|
||||
$this->token = $token;
|
||||
}
|
||||
|
||||
public function via($notifiable)
|
||||
{
|
||||
return ['mail'];
|
||||
}
|
||||
|
||||
public function toMail($notifiable)
|
||||
{
|
||||
$url = url(route('password.reset', [
|
||||
'token' => $this->token,
|
||||
'email' => $notifiable->email,
|
||||
], false));
|
||||
|
||||
return (new MailMessage)
|
||||
->subject('Configura tu contraseña')
|
||||
->greeting('Hola '.$notifiable->name)
|
||||
->line('Se ha creado una cuenta para ti en el sistema.')
|
||||
->line('Para acceder debes definir tu contraseña.')
|
||||
->action('Definir contraseña', $url)
|
||||
->line('Si no solicitaste esta cuenta puedes ignorar este correo.');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user