https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20352
--- Comment #13 from Tomás Cohen Arazi <[email protected]> --- Created attachment 103926 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103926&action=edit Bug 20352: Add the ability to chose the position of the currency This patch mimicks what has been done for p_sep_by_space to add a space separation between the symbol and the value. Here we are adding p_cs_precedes to display the symbol before or after the value. Note that so far the symbol is only displayed in one place at the OPAC (opac-main) Test plan: - Create a manual invoice for a patron - Edit the active currency, select 'Before' (should be the default here) - Use the charged patron to login at the OPAC => On the mainpage you should see the charges displayed, with the symbol before the value - Edit the active currency, select 'After' => The symbol is now positionned after the value QA note: From https://www.gnu.org/software/libc/manual/html_node/Currency-Symbol.html p_cs_precedes is only used for positive amount, n_cs_precedes should be used for negative. Here we are assuming that positive and negative amounts are displayed the same way. Signed-off-by: Martin Renvoize <[email protected]> Signed-off-by: Tomas Cohen Arazi <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
