Merge pull request #6487 from tarrsalah/fix_fourn_restapayer

Fix the remainder to pay amount (#6486)
This commit is contained in:
Laurent Destailleur 2017-03-10 11:53:58 +01:00 committed by GitHub
commit cbd0444cd0

View File

@ -2411,6 +2411,7 @@ else
print $langs->trans('AlreadyPaid');
print ' :</td><td align="right"'.(($totalpaye > 0)?' class="amountalreadypaid"':'').'>' . price($totalpaye) . '</td><td>&nbsp;</td></tr>';
$resteapayer = $object->total_ttc - $totalpaye;
$resteapayeraffiche = $resteapayer;
$cssforamountpaymentcomplete = 'amountpaymentcomplete';