Delivery note

15.01.2014 22:05
#1
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 288
Quote
Delivery note

Hi.

Is it possible to set up the design of the Delivery note like the one in Shop info
or is it like the one you show.

Kind regards
Jacobsen

 
15.01.2014 22:28
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Delivery note

Design already as in shop.
or ?

 
19.01.2014 10:13
#3
thomasbaumi
Joomshopping forum user no avatar
Name: Thomas Baumgartner
24.06.2011
Posts: 106
Quote
Aw: Delivery note

Hallo Webdesigner

Can you help me?

How can i use in the Header of jshop_delivery.php an other image as in the Headerr of generete_pdf_order.php?

Thanks for your answer.

Thomas

 
19.01.2014 18:00
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Delivery note

Install

Delivery note 1.0.3

plugins\jshoppingorder\jshop_delivery\jorderdeliverypdf.php

add function

function addTitleHead(){
$jshopConfig = JSFactory::getConfig();
$vendorinfo = $this->_vendorinfo;
$this->Image($jshopConfig->path.'images/header.jpg',1,1,$jshopConfig->pdf_header_width,$jshopConfig->pdf_header_height);
$this->Image($jshopConfig->path.'images/footer.jpg',1,265,$jshopConfig->pdf_footer_width,$jshopConfig->pdf_footer_height);
$this->SetFont('freesans','',8);
$this->SetXY(115,12);
$this->SetTextColor($this->pdfcolors[2][0], $this->pdfcolors[2][1], $this->pdfcolors[2][2]);
$_vendor_info = array();
$_vendor_info[] = $vendorinfo->adress;
$_vendor_info[] = $vendorinfo->zip." ".$vendorinfo->city;
if ($vendorinfo->phone) $_vendor_info[] = _JSHOP_CONTACT_PHONE.": ".$vendorinfo->phone;
if ($vendorinfo->fax) $_vendor_info[] = _JSHOP_CONTACT_FAX . ": ".$vendorinfo->fax;
if ($vendorinfo->email) $_vendor_info[] = _JSHOP_EMAIL.": ".$vendorinfo->email;
$str_vendor_info = implode("\n",$_vendor_info);
$this->MultiCell(80, 3, $str_vendor_info, 0, 'R');
$this->SetTextColor($this->pdfcolors[0][0], $this->pdfcolors[0][1], $this->pdfcolors[0][2]);
}

change rows

$this->Image($jshopConfig->path.'images/header.jpg',1,1,$jshopConfig->pdf_header_width,$jshopConfig->pdf_header_height);
$this->Image($jshopConfig->path.'images/footer.jpg',1,265,$jshopConfig->pdf_footer_width,$jshopConfig->pdf_footer_height);

 
Copyrights MAXXmarketing GmbH. All Rights Reserved