mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
always show invoice.totals
This commit is contained in:
parent
952899c8ec
commit
18312b9583
@ -195,6 +195,11 @@ trait DesignHelpers
|
|||||||
// Extract $invoice.date => date
|
// Extract $invoice.date => date
|
||||||
// so we can append date as $entity->date and not $entity->$invoice.date;
|
// so we can append date as $entity->date and not $entity->$invoice.date;
|
||||||
|
|
||||||
|
// When it comes to invoice balance, we'll always show it.
|
||||||
|
if ($variable == '$invoice.total') {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$_variable = explode('.', $variable)[1];
|
$_variable = explode('.', $variable)[1];
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user