Bugzilla – Attachment 31947 Details for
Bug 12979
Price formatting should only be defined at one place
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12979: Fix error on layout3pagesfr
0006-Bug-12979-Fix-error-on-layout3pagesfr.patch (text/plain), 1.95 KB, created by
Paola Rossi
on 2014-09-30 14:16:34 UTC
(
hide
)
Description:
Bug 12979: Fix error on layout3pagesfr
Filename:
MIME Type:
Creator:
Paola Rossi
Created:
2014-09-30 14:16:34 UTC
Size:
1.95 KB
patch
obsolete
>From 90425ce4a0870f0d3c53f320ee929245b6e3a4ca Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 30 Sep 2014 09:27:16 +0200 >Subject: [PATCH 6/6] Bug 12979: Fix error on layout3pagesfr > >The format method was not called. > >Signed-off-by: Paola Rossi <paola.rossi@cineca.it> >--- > 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 6ddb87a..bf5adb3 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); > } >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12979
:
31829
|
31936
|
31946
|
31947
|
32574
|
32575