always show invoice.totals

This commit is contained in:
Benjamin Beganović 2020-11-20 14:31:47 +01:00
parent 952899c8ec
commit 18312b9583

View File

@ -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) {