|
|
@ -83,9 +83,14 @@ if ($action=='load') |
|
|
|
#$lib_mouvement = $getData[6];
|
|
|
|
$lib_mouvement = iconv( mb_detect_encoding($getData[6]), 'Windows-1252//TRANSLIT', $getData[6]); |
|
|
|
|
|
|
|
if (trim($getData[8])!='') |
|
|
|
#debit(7)-crédit(8)
|
|
|
|
if (trim($getData[7])!='') |
|
|
|
{ |
|
|
|
$credit = "-".str_replace(',','.',trim($getData[8])); |
|
|
|
$credit = "-".trim($getData[7]); |
|
|
|
} |
|
|
|
elseif (trim($getData[8])!='') |
|
|
|
{ |
|
|
|
$credit = trim($getData[8]); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|