mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Merge pull request #4340 from beganovich/v5-show-invoice-totals-always
(v5) Always show invoice total on the PDFs
This commit is contained in:
commit
87c644b998
@ -195,6 +195,11 @@ trait DesignHelpers
|
||||
// Extract $invoice.date => 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 {
|
||||
$_variable = explode('.', $variable)[1];
|
||||
} catch (Exception $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user