mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add partial_due
to quotes in totals table
This commit is contained in:
parent
c1efcba422
commit
b62134a5ff
@ -631,6 +631,10 @@ class Design extends BaseDesign
|
|||||||
if (in_array('$outstanding', $variables)) {
|
if (in_array('$outstanding', $variables)) {
|
||||||
$variables = \array_diff($variables, ['$outstanding']);
|
$variables = \array_diff($variables, ['$outstanding']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->entity->partial > 0) {
|
||||||
|
$variables[] = '$partial_due';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (['discount'] as $property) {
|
foreach (['discount'] as $property) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user