From 7f825f9ed09f2225b5ada828fe4854cb76775a66 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 17 Sep 2020 08:24:56 +1000 Subject: [PATCH] Fixes for paid_to_date formatting --- app/Utils/Traits/MakesInvoiceValues.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/Traits/MakesInvoiceValues.php b/app/Utils/Traits/MakesInvoiceValues.php index 0e9f625b25db..54f2a56513d4 100644 --- a/app/Utils/Traits/MakesInvoiceValues.php +++ b/app/Utils/Traits/MakesInvoiceValues.php @@ -316,7 +316,7 @@ trait MakesInvoiceValues $data['$client.balance'] = ['value' => Number::formatMoney($this->client->balance, $this->client), 'label' => ctrans('texts.account_balance')]; $data['$client_balance'] = ['value' => Number::formatMoney($this->client->balance, $this->client), 'label' => ctrans('texts.account_balance')]; - $data['$paid_to_date'] = ['value' => $this->client->paid_to_date, 'label' => ctrans('texts.paid_to_date')]; + $data['$paid_to_date'] = ['value' => Number::formatMoney($this->client->paid_to_date, $this->client), 'label' => ctrans('texts.paid_to_date')]; $data['$client.address1'] = &$data['$address1']; $data['$client.address2'] = &$data['$address2'];