mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-09-28 18:13:06 -04:00
46 lines
921 B
PHP
46 lines
921 B
PHP
<?php
|
|
namespace Modules\JobPortalPayout\Emails;
|
|
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Mail\Mailable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
use Modules\JobPortal\Entities\VendorPayout;
|
|
|
|
class PayoutCalculatedEmail extends Mailable
|
|
{
|
|
use Queueable, SerializesModels;
|
|
|
|
/**
|
|
* The order instance.
|
|
*
|
|
* @var VendorPayout
|
|
*/
|
|
public $payout;
|
|
|
|
/**
|
|
* Create a new message instance.
|
|
*
|
|
* @param VendorPayout $payout
|
|
* @return void
|
|
*/
|
|
public function __construct(VendorPayout $payout)
|
|
{
|
|
$this->payout = $payout;
|
|
}
|
|
|
|
/**
|
|
* Build the message.
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function build()
|
|
{
|
|
return $this->subject(__('Your Market Earnings have been calculated'))->view('jobportalcandidate::email.payout',[
|
|
'payout'=>$this->payout,
|
|
'vendor'=>$this->payout->vendor
|
|
]);
|
|
}
|
|
|
|
}
|