forked from oyd/bagis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
685 B
35 lines
685 B
5 years ago
|
<?php
|
||
|
|
||
|
namespace App\Mail;
|
||
|
|
||
|
use Illuminate\Bus\Queueable;
|
||
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||
|
use Illuminate\Mail\Mailable;
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
use App\Donation;
|
||
|
|
||
|
class SuccessfulPayment extends Mailable
|
||
|
{
|
||
|
use Queueable, SerializesModels;
|
||
|
public $donation;
|
||
|
/**
|
||
|
* Create a new message instance.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct(Donation $donation)
|
||
|
{
|
||
|
$this->donation = $donation;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Build the message.
|
||
|
*
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function build()
|
||
|
{
|
||
|
return $this->subject("Thank you for your donation!")->markdown('emails.successfulpayment');
|
||
|
}
|
||
|
}
|