fs#135 number in cvs are formatted thanks the function ac_common::nb, it wil help
the users who are using excel
This commit is contained in:
parent
434a73df2d
commit
9c8f8b483f
5 changed files with 39 additions and 32 deletions
|
|
@ -69,16 +69,15 @@ $bal->to_poste=$_GET['to_poste'];
|
|||
|
||||
$row=$bal->get_row($_GET['from_periode'],
|
||||
$_GET['to_periode']);
|
||||
foreach ($row as $r) {
|
||||
|
||||
echo $r['poste'].';'.
|
||||
$r['label'].';'.
|
||||
$r['sum_deb'].';'.
|
||||
$r['sum_cred'].';'.
|
||||
$r['solde_deb'].';'.
|
||||
$r['solde_cred'];
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
foreach ($row as $r) {
|
||||
echo $r['poste'].';'.
|
||||
$r['label'].';'.
|
||||
nb($r['sum_deb']).';'.
|
||||
nb($r['sum_cred']).';'.
|
||||
nb($r['solde_deb']).';'.
|
||||
nb($r['solde_cred']);
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue