mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Minor fixes
This commit is contained in:
parent
20a74f199c
commit
d26e5f05c3
@ -522,7 +522,7 @@ class TemplateService
|
|||||||
'balance_raw' => ($payment->amount - $payment->refunded - $payment->applied),
|
'balance_raw' => ($payment->amount - $payment->refunded - $payment->applied),
|
||||||
'date' => $this->translateDate($payment->date, $payment->client->date_format(), $payment->client->locale()),
|
'date' => $this->translateDate($payment->date, $payment->client->date_format(), $payment->client->locale()),
|
||||||
'method' => $payment->translatedType(),
|
'method' => $payment->translatedType(),
|
||||||
'currency' => $payment->currency->code,
|
'currency' => $payment->currency->code ?? $this->company->currency()->code,
|
||||||
'exchange_rate' => $payment->exchange_rate,
|
'exchange_rate' => $payment->exchange_rate,
|
||||||
'transaction_reference' => $payment->transaction_reference,
|
'transaction_reference' => $payment->transaction_reference,
|
||||||
'is_manual' => $payment->is_manual,
|
'is_manual' => $payment->is_manual,
|
||||||
|
Loading…
Reference in New Issue
Block a user