From dcb0bbd669a397bde42885efe1f8ce3f45b7bc18 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 4 Oct 2022 03:34:01 +0000 Subject: [PATCH] Bug 31257: (follow-up) Fix display of PDF This patch rearranges the Qty and Document columns and shifts the vendor account number field lower to make room for address fields Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- Koha/pdfformat/layout1page.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/pdfformat/layout1page.pm b/Koha/pdfformat/layout1page.pm index 8badf759fe..aa7fa4fa46 100644 --- a/Koha/pdfformat/layout1page.pm +++ b/Koha/pdfformat/layout1page.pm @@ -57,7 +57,7 @@ sub printorders { my $abaskets; my $arrbasket; - my @keys = ('Document', 'Qty', 'RRP tax inc.', 'Discount', 'Tax', 'Total tax exc.', 'Total tax inc.'); + my @keys = ('Qty', 'Document', 'RRP tax inc.', 'Discount', 'Tax', 'Total tax exc.', 'Total tax inc.'); for my $bkey (@keys) { push(@$arrbasket, $bkey); } @@ -87,8 +87,8 @@ sub printorders { ( $line->{copyrightdate} ? ' '. $line->{copyrightdate} : ''); } push( @$arrbasket, - $titleinfo. ($line->{order_vendornote} ? "\n----------------\nNote for vendor : " . $line->{order_vendornote} : '' ), $line->{quantity}, + $titleinfo. ($line->{order_vendornote} ? "\n----------------\nNote for vendor : " . $line->{order_vendornote} : '' ), Koha::Number::Price->new( $line->{rrp_tax_included} )->format, Koha::Number::Price->new( $line->{discount} )->format . '%', Koha::Number::Price->new( $line->{tax_rate} * 100 )->format . '%', @@ -183,7 +183,7 @@ sub printhead { $start += 4; } } - $text->translate(20/mm, ($height-50)/mm); + $text->translate(20/mm, ($height-57)/mm); $text->text($bookseller->accountnumber); # print delivery infos -- 2.30.2