FIX: calculate correct remain to pay for planned bank transactions
This commit is contained in:
parent
12d7b92556
commit
adbb41799c
1 changed files with 2 additions and 0 deletions
|
|
@ -282,6 +282,8 @@ if ($_REQUEST["account"] || $_REQUEST["ref"])
|
|||
$refcomp=$societestatic->getNomUrl(1,'',24);
|
||||
|
||||
$paiement = $facturestatic->getSommePaiement(); // Payment already done
|
||||
$paiement+= $facturestatic->getSumDepositsUsed();
|
||||
$paiement+= $facturestatic->getSumCreditNotesUsed();
|
||||
}
|
||||
if ($obj->family == 'social_contribution')
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue