https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22115
Bug ID: 22115
Summary: Table of checkouts doesn't respect CurrencyFormat
setting
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Circulation
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Depends on: 22112
Target Milestone: ---
The table of checkouts on the checkouts and details tabs in the patron account
can display the columns Charge, Price and Fine. Those columns are not formatted
according to the CurrencyFormat systme preference.
I don't know how to fix this. It appears the formatting is currently done in
checkouts.js using toFixed(2):
Example:
"mDataProp": function ( oObj ) {
if ( ! oObj.charge ) oObj.charge = 0;
return '<span style="text-align: right; display:
block;">' + parseFloat(oObj.charge).toFixed(2) + '<span>';
}
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22112
[Bug 22112] Omnibus: Use Price filter everywhere
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/