Bug 31038: Fix price formating in cashup summary
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 Jun 2022 10:36:32 +0000 (11:36 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 12 Aug 2022 16:03:10 +0000 (16:03 +0000)
commit4debd73a216faed8c710c10fea4f2f9b1bf43acc
treeaf3565e4884992ab1b2299da5ce43a2c86124a2f
parent37bdef736d00edebf7e7013a8ca500a010a52f46
Bug 31038: Fix price formating in cashup summary

This patch uses the existing format_price JS include to format prices in
the cashup summary modal

Test plan
1) Create some transactions and a cashup
2) View the cashup summary modal and confirm amounts are not nicely
   formatted
3) Apply patch
4) Confirm amounts in cashup summary modals are now nicely formatted

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f46b636d03aa6e35c97f8c00cc7d6f0c6f4dbc94)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt
koha-tmpl/intranet-tmpl/prog/js/cashup_modal.js