Changeset View
Changeset View
Standalone View
Standalone View
src/app/Mail/NegativeBalanceReminder.php
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | public function build() | ||||
$this->view('emails.html.negative_balance_reminder') | $this->view('emails.html.negative_balance_reminder') | ||||
->text('emails.plain.negative_balance_reminder') | ->text('emails.plain.negative_balance_reminder') | ||||
->subject($subject) | ->subject($subject) | ||||
->with([ | ->with([ | ||||
'site' => $appName, | 'site' => $appName, | ||||
'subject' => $subject, | 'subject' => $subject, | ||||
'username' => $this->user->name(true), | 'username' => $this->user->name(true), | ||||
'supportUrl' => $supportUrl, | 'supportUrl' => Utils::serviceUrl($supportUrl, $this->user->tenant_id), | ||||
'walletUrl' => Utils::serviceUrl('/wallet', $this->user->tenant_id), | 'walletUrl' => Utils::serviceUrl('/wallet', $this->user->tenant_id), | ||||
'date' => $threshold->toDateString(), | 'date' => $threshold->toDateString(), | ||||
]); | ]); | ||||
return $this; | return $this; | ||||
} | } | ||||
/** | /** | ||||
Show All 16 Lines |