No need to recalculate $totalpaye.
This commit is contained in:
parent
840408c1d2
commit
bc7f4f3031
@ -2411,7 +2411,6 @@ else
|
||||
print $langs->trans('AlreadyPaid');
|
||||
print ' :</td><td align="right"'.(($totalpaye > 0)?' class="amountalreadypaid"':'').'>' . price($totalpaye) . '</td><td> </td></tr>';
|
||||
|
||||
$totalpaye = $object->getSommePaiement();
|
||||
$resteapayer = $object->total_ttc - $totalpaye;
|
||||
$resteapayeraffiche = $resteapayer;
|
||||
$cssforamountpaymentcomplete = 'amountpaymentcomplete';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user