Skip to content

Commit

Permalink
force export txt for ciel and quadratus
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-florian committed Aug 10, 2016
1 parent e9962bb commit 07412b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions htdocs/accountancy/admin/export.php
Expand Up @@ -81,6 +81,9 @@
if (! dolibarr_set_const($db, 'ACCOUNTING_EXPORT_MODELCSV', $modelcsv, 'chaine', 0, '', $conf->entity)) {
$error ++;
}
if ($modelcsv==AccountancyExport::$EXPORT_TYPE_QUADRATUS || $modelcsv==AccountancyExport::$EXPORT_TYPE_CIEL) {
dolibarr_set_const($db, 'ACCOUNTING_EXPORT_FORMAT', 'txt', 'chaine', 0, '', $conf->entity);
}
} else {
$error ++;
}
Expand Down

0 comments on commit 07412b2

Please sign in to comment.