1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fixes for client payment failures

This commit is contained in:
David Bomba 2021-11-14 15:35:23 +11:00
parent a64dec0191
commit 7b0868ee32

View File

@ -118,8 +118,8 @@ class ClientPaymentFailureObject
'logo' => $this->company->present()->logo(),
'settings' => $this->client->getMergedSettings(),
'whitelabel' => $this->company->account->isPaid() ? true : false,
'view_link' => $html_variables['$payment_link'],
'button' => $html_variables['$payment_button'],
'url' => $this->invoices->first()->invitations->first()->getPaymentLink(),
'button' => 'texts.pay_now',
'additional_info' => false,
'company' => $this->company,
];