Sfoglia il codice sorgente

Bug 4078: Pass with_symbol to module

The template plugin did not pass the with_symbol flag to the module and
so was not taken into account

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
18.05.x
Jonathan Druart 6 anni fa
parent
commit
d03a400824
  1. 2
      Koha/Template/Plugin/Price.pm

2
Koha/Template/Plugin/Price.pm

@ -31,7 +31,7 @@ sub filter {
$config->{on_editing} //= 0;
return $config->{on_editing}
? Koha::Number::Price->new( $value )->format_for_editing
: Koha::Number::Price->new( $value )->format;
: Koha::Number::Price->new( $value )->format( $config );
}
1;

Caricamento…
Annulla
Salva