From b27c2e6026cb16d8a77f0b8aa90a9d9e121b1784 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 30 Sep 2014 09:27:16 +0200 Subject: [PATCH] Bug 12979: Fix error on layout3pagesfr The format method was not called. Signed-off-by: Paola Rossi Signed-off-by: Katrin Fischer No regressions found, passes tests and QA script. Signed-off-by: Tomas Cohen Arazi --- acqui/pdfformat/layout3pagesfr.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/acqui/pdfformat/layout3pagesfr.pm b/acqui/pdfformat/layout3pagesfr.pm index 6ddb87aa93..bf5adb3274 100644 --- a/acqui/pdfformat/layout3pagesfr.pm +++ b/acqui/pdfformat/layout3pagesfr.pm @@ -117,13 +117,13 @@ sub printorders { push( @$arrbasket, $titleinfo. ($line->{order_vendornote} ? "\n----------------\nNote pour le fournisseur : ". $line->{order_vendornote} : '' ), $line->{quantity}, - Koha::Number::Price->new( $line->{rrpgste}), - Koha::Number::Price->new( $line->{rrpgsti}), - Koha::Number::Price->new( $line->{discount}).'%', - Koha::Number::Price->new( $line->{rrpgste} - $line->{ecostgste}), - Koha::Number::Price->new( $line->{gstrate} * 100).'%', - Koha::Number::Price->new( $line->{totalgste}), - Koha::Number::Price->new( $line->{totalgsti}), + Koha::Number::Price->new( $line->{rrpgste})->format, + Koha::Number::Price->new( $line->{rrpgsti})->format, + Koha::Number::Price->new( $line->{discount})->format.'%', + Koha::Number::Price->new( $line->{rrpgste} - $line->{ecostgste})->format, + Koha::Number::Price->new( $line->{gstrate} * 100)->format.'%', + Koha::Number::Price->new( $line->{totalgste})->format, + Koha::Number::Price->new( $line->{totalgsti})->format, ); push(@$abaskets, $arrbasket); } -- 2.39.5