From 5d5a87bc200132e4da489431c98894328fb988ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 16 Sep 2021 17:21:25 +0200 Subject: [PATCH] Fixes for invoices total amount --- app/Services/PdfMaker/Design.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/PdfMaker/Design.php b/app/Services/PdfMaker/Design.php index 818307c806..0d97d7f2db 100644 --- a/app/Services/PdfMaker/Design.php +++ b/app/Services/PdfMaker/Design.php @@ -382,7 +382,7 @@ class Design extends BaseDesign $outstanding = $this->invoices->sum('amount'); return [ - ['element' => 'p', 'content' => '$outstanding_label: $outstanding'], + ['element' => 'p', 'content' => '$outstanding_label: ' . Number::formatMoney($outstanding, $this->entity->client)], ]; }