From 2ac11bba3cb233ee38ffcb35b1c8d77859c4d372 Mon Sep 17 00:00:00 2001 From: Katrin Fischer 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 --- 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