Fix on a hidden option
This commit is contained in:
parent
edd4d0751b
commit
1b4507f07d
@ -605,6 +605,7 @@ foreach ($listofreferent as $key => $value)
|
|||||||
if ($key == 'invoice')
|
if ($key == 'invoice')
|
||||||
{
|
{
|
||||||
if (! empty($element->close_code) && $element->close_code == 'replaced') $qualifiedfortotal=false; // Replacement invoice, do not include into total
|
if (! empty($element->close_code) && $element->close_code == 'replaced') $qualifiedfortotal=false; // Replacement invoice, do not include into total
|
||||||
|
if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS) && $element->type == Facture::TYPE_DEPOSIT) $qualifiedfortotal=false; // If hidden option to use deposits as payment (deprecated, not recommended to use this), deposits are not included
|
||||||
}
|
}
|
||||||
if ($key == 'propal')
|
if ($key == 'propal')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user