Add partial_due to quotes in totals table

This commit is contained in:
Benjamin Beganović 2021-09-20 15:00:54 +02:00
parent c1efcba422
commit b62134a5ff

View File

@ -631,6 +631,10 @@ class Design extends BaseDesign
if (in_array('$outstanding', $variables)) {
$variables = \array_diff($variables, ['$outstanding']);
}
if ($this->entity->partial > 0) {
$variables[] = '$partial_due';
}
}
foreach (['discount'] as $property) {