Bugzilla – Attachment 141553 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: (QA follow-up) Fix some typos
Bug-31257-QA-follow-up-Fix-some-typos.patch (text/plain), 2.01 KB, created by
Katrin Fischer
on 2022-10-08 12:59:00 UTC
(
hide
)
Description:
Bug 31257: (QA follow-up) Fix some typos
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-08 12:59:00 UTC
Size:
2.01 KB
patch
obsolete
>From 2ac11bba3cb233ee38ffcb35b1c8d77859c4d372 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sat, 8 Oct 2022 12:57:05 +0000 >Subject: [PATCH] Bug 31257: (QA follow-up) Fix some typos > >The QA tools highlighted some typos in the code comments that >this fixes: measurment and milimeter > >Also removes a space befor colon form: Vendor note : > >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 aa7fa4fa46..e3b498325a 100644 >--- a/Koha/pdfformat/layout1page.pm >+++ b/Koha/pdfformat/layout1page.pm >@@ -34,8 +34,8 @@ BEGIN { > } > > >-#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurment of PDF::API2). >-#The constants exported transform that into PostScript points (/mm for milimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. >+#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurement of PDF::API2). >+#The constants exported transform that into PostScript points (/mm for millimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. > use constant mm => 25.4 / 72; > use constant in => 1 / 72; > use constant pt => 1; >@@ -88,7 +88,7 @@ sub printorders { > } > push( @$arrbasket, > $line->{quantity}, >- $titleinfo. ($line->{order_vendornote} ? "\n----------------\nNote for vendor : " . $line->{order_vendornote} : '' ), >+ $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 . '%', >-- >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