Ticket #34: invoices_pdfworkorder.php.2.diff
| File invoices_pdfworkorder.php.2.diff, 0.9 KB (added by anonymous, 6 years ago) |
|---|
-
invoices_pdfworkorder.php
107 107 if(!$pictureresult) reportError(300,"Error Retrieving Logo Graphic"); 108 108 $thepicture=mysql_fetch_array($pictureresult); 109 109 110 if($thepicture["type"]=="IMAGE/JPEG") 111 $pdf->MemImage($thepicture["file"],$leftmargin,$topmargin,$tempwidth,0,"JPEG"); 110 if($thepicture["type"]=="IMAGE/JPEG") { 111 $image = $thepicture["file"]; 112 $pdf->Image('var://image',$leftmargin,$topmargin,$tempwidth,0,"JPEG"); 113 } 112 114 elseif($thepicture["type"]=="IMAGE/PNG") 113 115 $pdf->MemImage($thepicture["file"],$leftmargin,$topmargin,$tempwidth); 114 116 115 117 //next company name 116 118 $pdf->SetXY($tempwidth+$leftmargin,$topmargin); 117 119 $pdf->SetFont("Times","B",12);