fix: export balance with doublequote
This commit is contained in:
parent
d5865dbfcc
commit
7d223beae5
@ -158,11 +158,11 @@ if ($action == 'export_csv')
|
|||||||
|
|
||||||
foreach ($object->lines as $line)
|
foreach ($object->lines as $line)
|
||||||
{
|
{
|
||||||
print length_accountg($line->numero_compte).$sep;
|
print '"'.length_accountg($line->numero_compte).'"'.$sep;
|
||||||
print $object->get_compte_desc($line->numero_compte).$sep;
|
print '"'.$object->get_compte_desc($line->numero_compte).'"'.$sep;
|
||||||
print price($line->debit).$sep;
|
print '"'.price($line->debit).'"'.$sep;
|
||||||
print price($line->credit).$sep;
|
print '"'.price($line->credit).'"'.$sep;
|
||||||
print price($line->debit - $line->credit).$sep;
|
print '"'.price($line->debit - $line->credit).'"'.$sep;
|
||||||
print "\n";
|
print "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user