mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for pay now button localized text
This commit is contained in:
parent
6f6d3dac16
commit
5f6057e138
@ -31,6 +31,7 @@ use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Illuminate\Support\Facades\App;
|
||||
|
||||
/*Multi Mailer implemented*/
|
||||
|
||||
@ -74,8 +75,10 @@ class PaymentFailedMailer implements ShouldQueue
|
||||
|
||||
//Set DB
|
||||
MultiDB::setDb($this->company->db);
|
||||
App::setLocale($this->client->locale());
|
||||
|
||||
$settings = $this->client->getMergedSettings();
|
||||
|
||||
$amount = 0;
|
||||
$invoice = false;
|
||||
|
||||
|
@ -124,7 +124,8 @@ class ClientPaymentFailureObject
|
||||
'settings' => $this->client->getMergedSettings(),
|
||||
'whitelabel' => $this->company->account->isPaid() ? true : false,
|
||||
'url' => $this->invoices->first()->invitations->first()->getPaymentLink(),
|
||||
'button' => 'texts.pay_now',
|
||||
// 'button' => 'texts.pay_now',
|
||||
'button' => ctrans('texts.pay_now'),
|
||||
'additional_info' => false,
|
||||
'company' => $this->company,
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user