Alias $outstanding as $balance_due
This commit is contained in:
parent
20591bc251
commit
d00bbc7a37
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ class HtmlEngine
|
|||
$data['$invoice.balance_due'] = ['value' => Number::formatMoney($this->entity->balance, $this->client) ?: ' ', 'label' => ctrans('texts.balance_due')];
|
||||
$data['$quote.balance_due'] = &$data['$invoice.balance_due'];
|
||||
$data['$balance_due'] = &$data['$invoice.balance_due'];
|
||||
$data['$outstanding'] = &$data['$balance_due'];
|
||||
$data['$invoice.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'];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue