Enzo_UK Posted May 2, 2005 Share Posted May 2, 2005 Is there any way I can get numbered invoices printed out from OSCommerce? As got told off by the VAT man as they werent! On the order emails that come through they have an order number on there... e.g. 'Order Number: 58' Is there any way I can get that to display on the Inoivces? So it gets printed out? Cheers In Advance. Andrew. Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2005 Share Posted May 2, 2005 Andrew, The fancier invoice contrib does this. ed Link to comment Share on other sites More sharing options...
Enzo_UK Posted May 2, 2005 Author Share Posted May 2, 2005 Cheers for that, I didnt use the contrib in the end, just had a look throught the files to see how they did it.... Basically just need to add..... <?php echo $oID; ?> where you want the order number to go. So in my invoice.php file I now have the following.... <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading" align="right" valign="top">Invoice No. <?php echo $oID; ?></td> The box in the table where I put the order number is usually where the logo goes, but I didnt bother having one on my invoices. Hope this is of help to someone else. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.