Bugzilla – Attachment 141552 Details for
Bug 31257
Add a new English 1 page layout to export a basket as PDF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31257: (follow-up) Fix display of PDF
Bug-31257-follow-up-Fix-display-of-PDF.patch (text/plain), 2.02 KB, created by
Katrin Fischer
on 2022-10-08 12:58:55 UTC
(
hide
)
Description:
Bug 31257: (follow-up) Fix display of PDF
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-08 12:58:55 UTC
Size:
2.02 KB
patch
obsolete
>From dcb0bbd669a397bde42885efe1f8ce3f45b7bc18 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >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 <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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
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 31257
:
138236
|
138454
|
140644
|
140645
|
141299
|
141304
|
141305
|
141551
| 141552 |
141553