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:05
|
|
jacobsen
Name: john
15.02.2011
Posts: 410
|
|
15.01.2014 22:28
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25857
|
|
19.01.2014 10:13
|
|
thomasbaumi
Name: Thomas Baumgartner
24.06.2011
Posts: 139
|
|
19.01.2014 18:00
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25857
|
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); |