No need to recalculate $totalpaye.

This commit is contained in:
tarrsalah 2017-03-06 09:02:01 +01:00
parent 840408c1d2
commit bc7f4f3031

View File

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