mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 16:24:30 -04:00
Do not show paid to date on quotes
This commit is contained in:
parent
0b6c74ce2f
commit
351b787220
@ -766,6 +766,10 @@ class Design extends BaseDesign
|
|||||||
if ($this->entity->partial > 0) {
|
if ($this->entity->partial > 0) {
|
||||||
$variables[] = '$partial_due';
|
$variables[] = '$partial_due';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (in_array('$paid_to_date', $variables)) {
|
||||||
|
$variables = \array_diff($variables, ['$paid_to_date']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->entity instanceof Credit) {
|
if ($this->entity instanceof Credit) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user