problem exorting negative figures

Questionsproblem exorting negative figures
Georges asked 11 months ago

Hi

In Export, negative figures appear in Excel with quotes

how can I solve this? thanks

TITRES IMMOBILISES (PROPRIETE)
17500
0
17500
0

AMORT AUT IMMO INCOR
0
28247,54
“-28247.54”
0

AMORT MATERIEL INDUS
0
1965120,15
“-1965120.15”
0

AMORT INSTAL GENERAL
0
200414,71
“-200414.71”
0

AMORT MAT TRANSPORT
0
249523,26
“-249523.26”
0

AMORT MAT BUREAU
0
18415,51
“-18415.51”
0

AMORT MOBILIER
0
9557,97
“-9557.97”
0

AMORT EMBAL RECUPERA
0
68341,16
“-68341.16”
0

MATIERE CONSOMMABLE
4343,2
4343,2
0
0

EMBALLAGES
201895,29
201895,29
0
0

EMBALLAGES
10000
0
10000
“-50000.00”

EMBALLAGES
23000
0
23000
“-110000.00”

6 Answers
Abu answered 11 months ago

Hi,

I’m sending you latest build which should fix this case.

Sergio Pulido answered 10 months ago

I also have the same problem, and it happens to me with the dates too, I have version 2.9.

Sergio Pulido.

Abu answered 10 months ago

I’ve emailed you an update.

Igor Girao answered 10 months ago

Hello Abu!
How are you?

I have the same problem with version 2.9. Can you send me the file?

Best regards, Igor GirĂ£o

Teo Re answered 6 months ago

Hi Abu, I have the same problem with version 2.9. Can you send me the file? Thanks

Abu answered 6 months ago

You need to edit lib/inc/jqgrid_dist.php and replace this function:

function sanitize_csv_data(&$data) {
	if (preg_match('/[=].*/', $data)) {
		$data = '\'' . $data ;
	}
	return $data;
}
Your Answer

6 + 9 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?