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

Katrin Fischer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #30 from Katrin Fischer <[email protected]> ---
This seems to make the tests pass on my system:

sub _format_params {
    my ( $self, $params ) = @_;
    my $with_symbol = $params->{with_symbol} || 0;
    my $currency        = GetCurrency();
    my $currency_format = C4::Context->preference("CurrencyFormat");

    my $int_curr_symbol = q||;
    my %format_params = (
        int_curr_symbol   => $int_curr_symbol,
        mon_thousands_sep => ',',
        mon_decimal_point => '.',
+            p_cs_precedes => 1,
+            p_sep_by_space => 0,
    );

    if ( $currency_format eq 'FR' ) {
        # FIXME This test should be done for all currencies
        $int_curr_symbol = $currency->{symbol} if $with_symbol;
        %format_params = (
            decimal_fill      => '2',
            decimal_point     => ',',
            int_curr_symbol   => $int_curr_symbol,
            mon_thousands_sep => ' ',
            thousands_sep     => ' ',
+           mon_decimal_point => ',',
+            p_cs_precedes => 1,
            p_sep_by_space => 0,

        );
    }

-- 
You are receiving this mail because:
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/

Reply via email to