diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php index 7fd2c709a0..24da8ee03b 100644 --- a/app/Utils/HtmlEngine.php +++ b/app/Utils/HtmlEngine.php @@ -156,10 +156,10 @@ class HtmlEngine $data['$balance_due'] = ['value' => Number::formatMoney($this->entity->balance, $this->client) ?: ' ', 'label' => ctrans('texts.balance_due')]; } - $data['$quote.balance_due'] = &$data['$balance_due']; - $data['$invoice.balance_due'] = &$data['$balance_due']; - $data['$balance_due'] = &$data['$balance_due']; - $data['$outstanding'] = &$data['$balance_due']; + $data['$quote.balance_due'] = $data['$balance_due']; + $data['$invoice.balance_due'] = $data['$balance_due']; + $data['$balance_due'] = $data['$balance_due']; + $data['$outstanding'] = $data['$balance_due']; $data['$partial_due'] = ['value' => Number::formatMoney($this->entity->partial, $this->client) ?: ' ', 'label' => ctrans('texts.partial_due')]; $data['$total'] = ['value' => Number::formatMoney($this->entity_calc->getTotal(), $this->client) ?: ' ', 'label' => ctrans('texts.total')]; $data['$amount'] = &$data['$total'];