Bug : export PDF card history incorrect balance
This commit is contained in:
parent
e2eebc4b9c
commit
937d498168
1 changed files with 2 additions and 2 deletions
|
|
@ -128,8 +128,8 @@ for ($e=0;$e<count($array);$e++)
|
|||
$pdf->SetFont('DejaVuCond','',8);
|
||||
}
|
||||
$l=0;
|
||||
$progress=bcsub($row['deb_montant'],$row['cred_montant']);
|
||||
|
||||
$delta=bcsub($row['deb_montant'],$row['cred_montant']);
|
||||
$progress=bcadd($progress,$delta);
|
||||
|
||||
$date=shrink_date($row['j_date_fmt']);
|
||||
$pdf->LongLine($size[$l],6,$date,0,$align[$l]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue