Merge pull request #7232 from ATM-Marc/FIX_future_accounting

FIX calculate correct remain to pay for planned bank transactions
This commit is contained in:
Laurent Destailleur 2017-08-04 15:23:00 +02:00 committed by GitHub
commit 3017e2b3a0

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