diff --git a/htdocs/accountancy/journal/bankjournal.php b/htdocs/accountancy/journal/bankjournal.php index 40fca78ab3b..0a80dc85ef9 100644 --- a/htdocs/accountancy/journal/bankjournal.php +++ b/htdocs/accountancy/journal/bankjournal.php @@ -8,7 +8,8 @@ * Copyright (C) 2013-2014 Florian Henry * Copyright (C) 2013-2014 Olivier Geffroy * Copyright (C) 2017-2018 Frédéric France - * Copyright (C) 2018 Ferran Marcet + * Copyright (C) 2018 Ferran Marcet + * Copyright (C) 2018 Eric Seigne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -785,17 +786,17 @@ if ($action == 'exportcsv') { // ISO and not UTF8 ! include DOL_DOCUMENT_ROOT . '/accountancy/tpl/export_journal.tpl.php'; // CSV header line - print '"' . $langs->trans("BankId").'"' . $sep; - print '"' . $langs->trans("Date") . '"' . $sep; - print '"' . $langs->trans("PaymentMode") . '"' . $sep; - print '"' . $langs->trans("AccountAccounting") . '"' . $sep; - print '"' . $langs->trans("LedgerAccount") . '"' . $sep; - print '"' . $langs->trans("SubledgerAccount") . '"' . $sep; - print '"' . $langs->trans("Label"). '"' . $sep; - print '"' . $langs->trans("Debit") . '"' . $sep; - print '"' . $langs->trans("Credit") . '"' . $sep; - print '"' . $langs->trans("Journal") . '"' . $sep; - print '"' . $langs->trans("Note") . '"' . $sep; + print '"' . html_entity_decode($langs->trans("BankId")).'"' . $sep; + print '"' . html_entity_decode($langs->trans("Date")) . '"' . $sep; + print '"' . html_entity_decode($langs->trans("PaymentMode")) . '"' . $sep; + print '"' . html_entity_decode($langs->trans("AccountAccounting")) . '"' . $sep; + print '"' . html_entity_decode($langs->trans("LedgerAccount")) . '"' . $sep; + print '"' . html_entity_decode($langs->trans("SubledgerAccount")) . '"' . $sep; + print '"' . html_entity_decode($langs->trans("Label")). '"' . $sep; + print '"' . html_entity_decode($langs->trans("Debit")) . '"' . $sep; + print '"' . html_entity_decode($langs->trans("Credit")) . '"' . $sep; + print '"' . html_entity_decode($langs->trans("Journal")) . '"' . $sep; + print '"' . html_entity_decode($langs->trans("Note")) . '"' . $sep; print "\n";