From 2aaa0779e25152bbea05a0f481c05334a2ef4d55 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Wed, 27 Mar 2024 10:27:15 +0100 Subject: [PATCH 1/2] FIX Missing declaration of type export FEC/FEC2 for export with file source --- htdocs/accountancy/bookkeeping/export.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/accountancy/bookkeeping/export.php b/htdocs/accountancy/bookkeeping/export.php index 498a8ee2ed3a7..83f972f46c73b 100644 --- a/htdocs/accountancy/bookkeeping/export.php +++ b/htdocs/accountancy/bookkeeping/export.php @@ -766,7 +766,10 @@ } // add documents in an archive for accountancy export (Quadratus) - if (getDolGlobalString('ACCOUNTING_EXPORT_MODELCSV') == AccountancyExport::$EXPORT_TYPE_QUADRATUS) { + if (getDolGlobalString('ACCOUNTING_EXPORT_MODELCSV') == AccountancyExport::$EXPORT_TYPE_QUADRATUS + || getDolGlobalString('ACCOUNTING_EXPORT_MODELCSV') == AccountancyExport::$EXPORT_TYPE_FEC + || getDolGlobalString('ACCOUNTING_EXPORT_MODELCSV') == AccountancyExport::$EXPORT_TYPE_FEC2 + ) { $form_question['notifiedexportfull'] = array( 'name' => 'notifiedexportfull', 'type' => 'checkbox', From b2919085eec366fb224ed21ef318e5fe395f17ab Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 28 Mar 2024 13:05:50 +0100 Subject: [PATCH 2/2] Update export.php --- htdocs/accountancy/bookkeeping/export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/accountancy/bookkeeping/export.php b/htdocs/accountancy/bookkeeping/export.php index 83f972f46c73b..ede15e0fc2d6f 100644 --- a/htdocs/accountancy/bookkeeping/export.php +++ b/htdocs/accountancy/bookkeeping/export.php @@ -765,7 +765,7 @@ $form_question['separator3'] = array('name'=>'separator3', 'type'=>'separator'); } - // add documents in an archive for accountancy export (Quadratus) + // add documents in an archive for some accountancy export format if (getDolGlobalString('ACCOUNTING_EXPORT_MODELCSV') == AccountancyExport::$EXPORT_TYPE_QUADRATUS || getDolGlobalString('ACCOUNTING_EXPORT_MODELCSV') == AccountancyExport::$EXPORT_TYPE_FEC || getDolGlobalString('ACCOUNTING_EXPORT_MODELCSV') == AccountancyExport::$EXPORT_TYPE_FEC2