FIX: calculate correct remain to pay for planned bank transactions

This commit is contained in:
Marc de Lima Lucio 2017-08-01 11:08:58 +02:00
parent 12d7b92556
commit adbb41799c

View File

@ -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')
{