Update purchasesjournal.php
This commit is contained in:
parent
bf86693dcb
commit
f91127c92a
@ -249,7 +249,11 @@ if ($action == 'export_csv')
|
|||||||
$purchase_journal = $conf->global->ACCOUNTING_PURCHASE_JOURNAL;
|
$purchase_journal = $conf->global->ACCOUNTING_PURCHASE_JOURNAL;
|
||||||
|
|
||||||
header('Content-Type: text/csv');
|
header('Content-Type: text/csv');
|
||||||
header('Content-Disposition: attachment;filename=journal_achats.csv');
|
if ($conf->global->EXPORT_PREFIX)
|
||||||
|
$filename=$conf->global->EXPORT_PREFIX_SPEC."_"."journal_achats.csv";
|
||||||
|
else
|
||||||
|
$filename="journal_achats.csv";
|
||||||
|
header('Content-Disposition: attachment;filename='.$filename);
|
||||||
|
|
||||||
if ($conf->global->ACCOUNTING_EXPORT_MODELCSV == 2) // Model Cegid Expert Export
|
if ($conf->global->ACCOUNTING_EXPORT_MODELCSV == 2) // Model Cegid Expert Export
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user