Bugzilla – Attachment 141299 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), 1.92 KB, created by
Aleisha Amohia
on 2022-10-04 03:35:17 UTC
(
hide
)
Description:
Bug 31257: (follow-up) Fix display of PDF
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2022-10-04 03:35:17 UTC
Size:
1.92 KB
patch
obsolete
>From 35f5e1efb2b1e0882cb0dcbc7bef1f1251ab3ca4 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 >--- > 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.20.1
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