]> git.koha-community.org Git - koha.git/commit
Bug 22038: Fix excel export if CurrencyFormat is FR
authorDidier Gautheron <didier.gautheron@biblibre.com>
Fri, 11 Dec 2020 09:46:04 +0000 (10:46 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 4 Apr 2022 14:23:46 +0000 (16:23 +0200)
commit4a35fd536348c95811b58116262c5ba3c6ee7248
tree853d84e9fe4e998771a5d8c6b78fca49ae66f447
parent31960e86dfb58dc2b2acc09af3c6f78573cd380b
Bug 22038: Fix excel export if CurrencyFormat is FR

DataTables excel export is broken if number decimal separator is a comma.

Test plan:
1 - Set syspref CurrencyFormat to US
2 - Export as excel a table with decimal numbers, patrons list with fines
for example.
3 - Open in libreoffice or excel, numbers are ok.
4 - Set syspref CurrencyFormat to FR
5 - Export and open again, number are wrong 25,10 is imported as 2510
6 - Apply patch
7 - Redo 1 to 4
8 - Excel export, number is 25,10

Signed-off-by: hakam <hakam@inlibro.com>
Signed-off-by: Florian Bontemps <florian.bontemps@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc