Add partial_due to quotes in totals table
This commit is contained in:
parent
c1efcba422
commit
b62134a5ff
1 changed files with 4 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue