Changeset View
Changeset View
Standalone View
Standalone View
src/app/Mail/PaymentFailure.php
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | public function build() | ||||
$this->view('emails.html.payment_failure') | $this->view('emails.html.payment_failure') | ||||
->text('emails.plain.payment_failure') | ->text('emails.plain.payment_failure') | ||||
->subject($subject) | ->subject($subject) | ||||
->with([ | ->with([ | ||||
'site' => $appName, | 'site' => $appName, | ||||
'subject' => $subject, | 'subject' => $subject, | ||||
'username' => $this->user->name(true), | 'username' => $this->user->name(true), | ||||
'walletUrl' => Utils::serviceUrl('/wallet', $this->user->tenant_id), | 'walletUrl' => Utils::serviceUrl('/wallet', $this->user->tenant_id), | ||||
'supportUrl' => $supportUrl, | 'supportUrl' => Utils::serviceUrl($supportUrl, $this->user->tenant_id), | ||||
]); | ]); | ||||
return $this; | return $this; | ||||
} | } | ||||
/** | /** | ||||
* Render the mail template with fake data | * Render the mail template with fake data | ||||
* | * | ||||
Show All 16 Lines |