[Koha-bugs] [Bug 12979] Price formatting should only be defined at one place

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 30 16:15:54 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12979

Paola Rossi <paola.rossi at cineca.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31829|0                           |1
        is obsolete|                            |

--- Comment #5 from Paola Rossi <paola.rossi at cineca.it> ---
Created attachment 31946
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31946&action=edit
Bug 12979: Price formatting should only be defined at one place

I've applied against 3.17.00.025

>>git grep Number::Format
1) C4/Installer/PerlDependencies.pm:    'Number::Format' => {
2) Koha/Number/Price.pm:use Number::Format qw( format_price );
3) Koha/Number/Price.pm: return
Number::Format->new(%$format_params)->format_price($self->value);
4) Koha/Number/Price.pm: return
Number::Format->new(%$format_params)->unformat_number($self->value);
5) t/Number/Price.t:# How put the symbol at the end with Number::Format?

Everything is OK.

I pass the patch to "Signed Off" status.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list