Changeset View
Changeset View
Standalone View
Standalone View
src/app/Mail/SuspendedDebtor.php
- This file was copied to src/app/Mail/TrialEnd.php.
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | public function build() | ||||
$this->view('emails.html.suspended_debtor') | $this->view('emails.html.suspended_debtor') | ||||
->text('emails.plain.suspended_debtor') | ->text('emails.plain.suspended_debtor') | ||||
->subject($subject) | ->subject($subject) | ||||
->with([ | ->with([ | ||||
'site' => $appName, | 'site' => $appName, | ||||
'subject' => $subject, | 'subject' => $subject, | ||||
'username' => $this->account->name(true), | 'username' => $this->account->name(true), | ||||
'cancelUrl' => $cancelUrl, | 'cancelUrl' => $cancelUrl, | ||||
'supportUrl' => $supportUrl, | 'supportUrl' => Utils::serviceUrl($supportUrl, $this->account->tenant_id), | ||||
'walletUrl' => Utils::serviceUrl('/wallet', $this->account->tenant_id), | 'walletUrl' => Utils::serviceUrl('/wallet', $this->account->tenant_id), | ||||
'moreInfoHtml' => $moreInfoHtml, | 'moreInfoHtml' => $moreInfoHtml, | ||||
'moreInfoText' => $moreInfoText, | 'moreInfoText' => $moreInfoText, | ||||
'days' => 14 // TODO: Configurable | 'days' => 14 // TODO: Configurable | ||||
]); | ]); | ||||
return $this; | return $this; | ||||
} | } | ||||
Show All 17 Lines |