Koha/Koha/Template/Plugin
Jonathan Druart e6d1d8727b Bug 12844: New module to manage prices into Koha
This patch introduces a new module to manage prices into Koha and
especially the acquisition module.

How to use is:
1/ You can use it in a perl script/module:
  my $price = Koha::Number::Price->new(3);
  $price->format; # Will display 3.00 (or 3,00 depending on the CurrencyFormat syspref).
  $price->format({with_symbol => 1}); # Will display €3.00 (or [$]3,00 depending on the CurrencyFormat syspref).

2/ But this module is usefull to display the price from a template file.
  [% my_price | Price %]

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-27 12:56:18 -03:00
..
AuthorisedValues.pm
Borrowers.pm
Branches.pm Bug 7720: (follow-up) fix various issues 2014-05-26 02:17:17 +00:00
Cache.pm Bug 12041 - improve Koha::Cache 2014-06-19 13:05:04 -03:00
ColumnsSettings.pm Bug 10212: Columns configuration for tables 2014-08-26 09:28:03 -03:00
EncodeUTF8.pm
ItemTypes.pm
Koha.pm
KohaDates.pm
Price.pm Bug 12844: New module to manage prices into Koha 2014-10-27 12:56:18 -03:00