Search the Community
Showing results for tags 'pdf.php code'.
-
Hello, I have a problem with the pdf output file from my system. The code is: <table> <tr> <td align="center"><strong><?php echo JText::_('VRCORDERNUMBER'); ?></strong></td> <td align="center"><strong><?php echo JText::_('VRCCONFIRMATIONNUMBER'); ?></strong></td> <td align="center"><strong><?php echo JText :: _('VRLIBSEVEN'); ?></strong></td> <td align="center"><strong><?php echo JText::_('VRLIBEIGHT'); ?></strong></td> </tr> <tr> <td align="center">{order_id}</td> <td align="center">{confirmnumb}</td> <td align="center"><span style="color: {order_status_class};">{order_status}</span></td> <td align="center">{order_date}</td> </tr> </table> <h4><?php echo JText::_('VRLIBNINE'); ?>:</h4> <p>{customer_info}</p> <p><strong><?php echo JText::_('VRLIBTEN'); ?>:</strong> {item_name}</p> <table> <tr> <td align="center"><strong><?php echo JText::_('VRLIBELEVEN'); ?></strong></td> <td align="center"><strong><?php echo JText::_('VRRITIROCAR'); ?></strong></td> <td> </td> <td align="center"><strong><?php echo JText::_('VRLIBTWELVE'); ?></strong></td> <td align="center"><strong><?php echo JText::_('VRRETURNCARORD'); ?></strong></td> </tr> <tr> <td align="center">{pickup_date}</td> <td align="center">{pickup_location}</td> <td> </td> <td align="center">{dropoff_date}</td> <td align="center">{dropoff_location}</td> </tr> </table> <p> <br/><br/></p> <h4><?php echo JText::_('VRCORDERDETAILS'); ?>:</h4> <br/> <table width="100%" align="center" style="border: 1px solid #DDDDDD;"> <tr><td bgcolor="#C9E9FC" width="30%" style="border: 1px solid #DDDDDD;"></td><td bgcolor="#C9E9FC" width="10%" align="center" style="border: 1px solid #DDDDDD;"><?php echo JText::_('VRCPDFDAYS'); ?></td><td bgcolor="#C9E9FC" width="20%" style="border: 1px solid #DDDDDD;"><?php echo JText::_('VRCPDFNETPRICE'); ?></td><td bgcolor="#C9E9FC" width="20%" style="border: 1px solid #DDDDDD;"><?php echo JText::_('VRCPDFTAX'); ?></td><td bgcolor="#C9E9FC" width="20%" style="border: 1px solid #DDDDDD;"><?php echo JText::_('VRCPDFTOTALPRICE'); ?></td></tr> {order_details} {order_total} </table> , you can see it in the enclosure. I want {order_details} and {order total} to be justified to center or tot the right, not to the left. Can someone help me? BRGDS