Bug 18263: Make use of syspref 'CurrencyFormat' for Account and Pay fines tables
authorMarc Véron <veron@veron.ch>
Tue, 14 Mar 2017 13:29:08 +0000 (14:29 +0100)
committerMason James <mtj@kohaaloha.com>
Sun, 23 Apr 2017 23:13:43 +0000 (11:13 +1200)
commit95190934a741692f3883965e28c1c659d5ab8f85
tree85a7222be5e78c533b73428c1bfa39059c0e2985
parentd6bbbc1aa36e38a38d10e1ea55771b9602b52c4c
Bug 18263: Make use of syspref 'CurrencyFormat' for Account and Pay fines tables

On Home > Patrons > Accounts for... and Home > Patrons > Pay fines for...,
make the amounts display as defined in syspref 'CurrencyFormat'

To test:
- Apply patch
- Give a patron a high fine or credit (e.g. 12345.67)
- Got to pages Home > Patrons > Accounts for... and
  Home > Patrons > Pay fines
- Verify that amounts display following syspref 'CurrencyFormat'
  (e.g. 12'345.67 for syspref set to 360'000.00 (CH)

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit db467287d174827e52c322cb86d75b8628df52fe)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Conflicts:
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt