diff --git a/include/export/export_ledger_csv.php b/include/export/export_ledger_csv.php index 513bf7670..de6462b57 100644 --- a/include/export/export_ledger_csv.php +++ b/include/export/export_ledger_csv.php @@ -156,11 +156,12 @@ if ( $get_option=="E") } $a_row=array(); $type="text"; - for ($j=0; $j18) - $type="number"; - $export->add($row[$j], $type); + if ($idx_col> 18 ) $type="number"; + $export->add($col,$type); + $idx_col++; } //info payment $ret_reconcile=$cn->execute('reconcile_date',array($row['jr_id']));