added tests for send email
This commit is contained in:
@ -111,12 +111,18 @@ class Transaction extends Notification
|
||||
|
||||
public function getTagsReplacement(): array
|
||||
{
|
||||
$route_params = [
|
||||
'company_id' => $this->transaction->company_id,
|
||||
'transaction' => $this->transaction->id,
|
||||
'payment' => $this->transaction->id,
|
||||
];
|
||||
|
||||
return [
|
||||
money($this->transaction->amount, $this->transaction->currency_code, true),
|
||||
company_date($this->transaction->paid_at),
|
||||
URL::signedRoute('signed.payments.show', [$this->transaction->id]),
|
||||
route('transactions.show', $this->transaction->id),
|
||||
route('portal.payments.show', $this->transaction->id),
|
||||
URL::signedRoute('signed.payments.show', $route_params),
|
||||
route('transactions.show', $route_params),
|
||||
route('portal.payments.show', $route_params),
|
||||
$this->transaction->contact->name,
|
||||
$this->transaction->company->name,
|
||||
$this->transaction->company->email,
|
||||
|
Reference in New Issue
Block a user