Bugzilla – Attachment 12377 Details for
Bug 5356
Shipping billing address improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5356: Followup: Add basket billing and delivery place on export pdf (layout3pages)
Bug-5356-Followup-Add-basket-billing-and-delivery-.patch (text/plain), 1.50 KB, created by
Jonathan Druart
on 2012-09-20 10:02:37 UTC
(
hide
)
Description:
Bug 5356: Followup: Add basket billing and delivery place on export pdf (layout3pages)
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-09-20 10:02:37 UTC
Size:
1.50 KB
patch
obsolete
>From dfb8a475c96b337d7271a725640228b05a05cd91 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 4 Sep 2012 10:03:27 +0200 >Subject: [PATCH] Bug 5356: Followup: Add basket billing and delivery place on > export pdf (layout3pages) > >--- > acqui/pdfformat/layout3pages.pm | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/acqui/pdfformat/layout3pages.pm b/acqui/pdfformat/layout3pages.pm >index 324b88e..0f1f14a 100644 >--- a/acqui/pdfformat/layout3pages.pm >+++ b/acqui/pdfformat/layout3pages.pm >@@ -29,7 +29,7 @@ use strict; > use warnings; > use utf8; > >-use C4::Branch qw(GetBranchDetail); >+use C4::Branch qw(GetBranchDetail GetBranchName); > > BEGIN { > use Exporter (); >@@ -92,7 +92,12 @@ sub printorders { > $text->font( $pdf->corefont("Times", -encoding => "utf8"), 6/mm ); > $text->translate(20/mm, ($height-15)/mm); > $text->text("Order N°".$basketgroup->{'id'}.". Basket N° ".$basket->{basketno}.". ".$basket->{booksellernote}); >- >+ $text->translate(20/mm, ($height-20)/mm); >+ $text->text( ( $basket->{billingplace} ? "Billing at " . C4::Branch::GetBranchName( $basket->{billingplace} ) : "" ) >+ . ( $basket->{billingplace} and $basket->{deliveryplace} ? " and " : "" ) >+ . ( $basket->{deliveryplace} ? "delivery at " . C4::Branch::GetBranchName( $basket->{deliveryplace}) : "" ) >+ ); >+ > my $pdftable = new PDF::Table(); > my $abaskets; > my $arrbasket; >-- >1.7.10.4
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 5356
:
8405
|
8409
|
8532
|
8940
|
9228
|
9230
|
9975
|
10152
|
10201
|
10338
|
10340
|
10341
|
11120
|
11952
|
12376
|
12377
|
12407
|
12484
|
12838