0000190: Format des nombres dans les balances
This commit is contained in:
parent
ad0faa7a8c
commit
478b68f91b
2 changed files with 8 additions and 8 deletions
|
|
@ -120,10 +120,10 @@ for ($i=0;$i<count($array);$i++)
|
|||
if ( ! isset($array[$i]))continue;
|
||||
$pdf->Cell(30,6,$array[$i]['poste'],0,0,'L',$fill);
|
||||
$pdf->Cell(80,6,$array[$i]['label'],0,0,'L',$fill);
|
||||
$pdf->Cell(20,6,$array[$i]['sum_deb'],0,0,'R',$fill);
|
||||
$pdf->Cell(20,6,$array[$i]['sum_cred'],0,0,'R',$fill);
|
||||
$pdf->Cell(20,6,$array[$i]['solde_deb'],0,0,'R',$fill);
|
||||
$pdf->Cell(20,6,$array[$i]['solde_cred'],0,0,'R',$fill);
|
||||
$pdf->Cell(20,6,nbm($array[$i]['sum_deb']),0,0,'R',$fill);
|
||||
$pdf->Cell(20,6,nbm($array[$i]['sum_cred']),0,0,'R',$fill);
|
||||
$pdf->Cell(20,6,nbm($array[$i]['solde_deb']),0,0,'R',$fill);
|
||||
$pdf->Cell(20,6,nbm($array[$i]['solde_cred']),0,0,'R',$fill);
|
||||
$pdf->Ln();
|
||||
$tp_deb+=$array[$i]['sum_deb'];
|
||||
$tp_cred+=$array[$i]['sum_cred'];
|
||||
|
|
|
|||
|
|
@ -221,10 +221,10 @@ if ( isset($_GET['view'] ) )
|
|||
echo '<TR class="'.$tr.'">';
|
||||
echo td($view_history);
|
||||
echo td(h($r['label']));
|
||||
echo td($r['sum_deb']);
|
||||
echo td($r['sum_cred']);
|
||||
echo td($r['solde_deb']);
|
||||
echo td($r['solde_cred']);
|
||||
echo td(nbm($r['sum_deb']),'style="text-align:right"');
|
||||
echo td(nbm($r['sum_cred']),'style="text-align:right"');
|
||||
echo td(nbm($r['solde_deb']),'style="text-align:right"');
|
||||
echo td(nbm($r['solde_cred']),'style="text-align:right"');
|
||||
echo '</TR>';
|
||||
}
|
||||
echo '</table>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue