Commit 6522c1f7219968c2a4ae93cd0175d925e626b734
1 parent
8ca969b7
Exists in
3.5
and in
1 other branch
Correct export for Cegid model
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
accountingex/journal/bankjournal.php
... | ... | @@ -388,7 +388,7 @@ if ($action == 'export_csv') { |
388 | 388 | |
389 | 389 | $companystatic = new Client($db); |
390 | 390 | |
391 | - if ($conf->global->ACCOUNTINGEX_MODELCSV == 1) // Modèle Export Cegid Expert | |
391 | + if ($conf->global->ACCOUNTINGEX_MODELCSV == 2) // Modèle Export Cegid Expert | |
392 | 392 | { |
393 | 393 | foreach ( $tabpay as $key => $val ) { |
394 | 394 | $date = dol_print_date($db->jdate($val["date"]), '%d%m%Y'); | ... | ... |
accountingex/journal/cashjournal.php
... | ... | @@ -383,7 +383,7 @@ if ($action == 'export_csv') { |
383 | 383 | header('Content-Type: text/csv'); |
384 | 384 | header('Content-Disposition:attachment;filename=journal_caisse.csv'); |
385 | 385 | |
386 | - if ($conf->global->ACCOUNTINGEX_MODELCSV == 1) // Modèle Export Cegid Expert | |
386 | + if ($conf->global->ACCOUNTINGEX_MODELCSV == 2) // Modèle Export Cegid Expert | |
387 | 387 | { |
388 | 388 | foreach ( $tabpay as $key => $val ) { |
389 | 389 | $date = dol_print_date($db->jdate($val["date"]), '%d%m%Y'); | ... | ... |
accountingex/journal/purchasesjournal.php
... | ... | @@ -256,7 +256,7 @@ if ($action == 'export_csv') { |
256 | 256 | header('Content-Type: text/csv'); |
257 | 257 | header('Content-Disposition: attachment;filename=journal_achats.csv'); |
258 | 258 | |
259 | - if ($conf->global->ACCOUNTINGEX_MODELCSV == 1) // Modèle Export Cegid Expert | |
259 | + if ($conf->global->ACCOUNTINGEX_MODELCSV == 2) // Modèle Export Cegid Expert | |
260 | 260 | { |
261 | 261 | foreach ( $tabfac as $key => $val ) { |
262 | 262 | $date = dol_print_date($db->jdate($val["date"]), '%d%m%Y'); | ... | ... |
accountingex/journal/sellsjournal.php
... | ... | @@ -265,7 +265,7 @@ if ($action == 'export_csv') { |
265 | 265 | |
266 | 266 | $companystatic = new Client($db); |
267 | 267 | |
268 | - if ($conf->global->ACCOUNTINGEX_MODELCSV == 1) // Modèle Export Cegid Expert | |
268 | + if ($conf->global->ACCOUNTINGEX_MODELCSV == 2) // Modèle Export Cegid Expert | |
269 | 269 | { |
270 | 270 | foreach ( $tabfac as $key => $val ) { |
271 | 271 | $companystatic->id = $tabcompany[$key]['id']; | ... | ... |