mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Alias $outstanding as $balance_due
This commit is contained in:
parent
20591bc251
commit
d00bbc7a37
@ -151,6 +151,7 @@ class HtmlEngine
|
|||||||
$data['$invoice.balance_due'] = ['value' => Number::formatMoney($this->entity->balance, $this->client) ?: ' ', 'label' => ctrans('texts.balance_due')];
|
$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['$quote.balance_due'] = &$data['$invoice.balance_due'];
|
||||||
$data['$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['$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['$total'] = ['value' => Number::formatMoney($this->entity_calc->getTotal(), $this->client) ?: ' ', 'label' => ctrans('texts.total')];
|
||||||
$data['$amount'] = &$data['$total'];
|
$data['$amount'] = &$data['$total'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user