From: Scott R. <s....@pr...> - 2005-07-19 20:51:30
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1">all,<br> <br> does anyone know of a reason why the output of the 'Delivery To' address and the 'Quotation For' address is done differently in /includes/PDFQuotationPageHeader.inc ? I noticed the difference because I tried to print a quote where both addresses used all 4 lines available for the address.<br> <br> $FontSize=14;<br> $pdf->addText($XPos, $YPos,$FontSize, _('Delivery To').':' );<br> $pdf->addText($XPos, $YPos-15,$FontSize, $myrow['deliverto']);<br> $pdf->addText($XPos, $YPos-30,$FontSize, $myrow['deladd1']);<br> $pdf->addText($XPos, $YPos-45,$FontSize, $myrow['deladd2']);<br> $pdf->addText($XPos, $YPos-60,$FontSize, $myrow['deladd3'] . ' ' . $myrow['deladd4']);<br> <br> $YPos -= 80;<br> <br> $pdf->addText($XPos, $YPos,$FontSize, _('Quotation For').':');<br> $pdf->addText($XPos, $YPos-15,$FontSize, $myrow['name']);<br> $pdf->addText($XPos, $YPos-30,$FontSize, $myrow['address1']);<br> $pdf->addText($XPos, $YPos-45,$FontSize, $myrow['address2']);<br> $pdf->addText($XPos, $YPos-60,$FontSize, $myrow['address3']);<br> $pdf->addText($XPos, $YPos-75,$FontSize, $myrow['address4']);<br> <br> for consistency, shouldn't that address4 be concatenated with address3?<br> <br> regards,<br> scott<br> </font> </body> </html> |