Bug 26273: (follow-up) Format dates and money correctly.
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 10 Feb 2021 17:31:56 +0000 (17:31 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 11 Mar 2021 15:33:25 +0000 (16:33 +0100)
commit45baee1aaede0c83e7afa26b596b7748db1a97fd
tree99ae608708275101b66af668021996b5f527db9d
parent26419d5560c52d8137f5e060b250eb54ee635426
Bug 26273: (follow-up) Format dates and money correctly.

This patch adds the missing formatting for the Datetime and Amount
fields.

Test plan
1/ Apply patch and reload register page to re-display the cashups table
2/ Note that the 'Date' field now displays a nicely formatted date
without an offset.
3/ Note that the 'Amount' field now displays the number according to
your money formatting preferences (with 2 decimal places in most cases)
4/ Signoff

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt