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> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
321e9e9342
commit
fd32db5528
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue