mborin Posted May 21, 2004 Posted May 21, 2004 How do I get the fax number to appear on the invoice? Please help. Tahnk you
MyronNet Posted May 21, 2004 Posted May 21, 2004 I'd suggest you look at a contribution by WebMakers.com. They have a host of improvements along this line. Here is a smidge of code present in the admin>invoice.php page. As you can see you'll really need the contribution in order to add mySQL control. If you just need to add your own Fax# for fax backs, then hard code it on the same page. Hope that helps. :rolleyes: // EOF: WebMakers.com Added: show additional order info ?> </table></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="3" align="center"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> <?php ____________________________ MyronNet
mborin Posted May 21, 2004 Author Posted May 21, 2004 I went to their website but can not find the mod. Can you point me in to the right direction? Thank you
MyronNet Posted May 21, 2004 Posted May 21, 2004 Mel, I've addeded many contributions & so I'm busy trying to figure out which of them added 'TABLE_HEADING_TAX' to the database. Here's a start: Quantity Controller ____________________________ MyronNet
MyronNet Posted May 21, 2004 Posted May 21, 2004 Dang! (Please forgive me... I copied the first batch of code too quickly. It said TAX not FAX) Here is the contribution you'll need from the proliffic coder Linda McGrath. Downloads Controller It will appearently affect the admin>invoice.php to add the FAX field you require. // EOF: WebMakers.com Added: Downloads Controller ?> </table></td> <td width="30%" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="InvoiceAdresses"><font color="#999999"><b><?php echo ENTRY_SHIP_TO; ?></b></font></td> </tr> <tr> <td class="InvoiceAdresses"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></td> </tr> <tr> <td class="InvoiceAdresses"><?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="InvoiceAdresses"><font color="#999999"><?php echo $order->customer['telephone']; ?></font></td> </tr> <tr> <td class="InvoiceAdresses"><font color="#999999"><?php echo 'FAX #:'; ?> <?php echo $the_customers_fax; ?></font></td> </tr> <tr> Hope this is'nt too long a routine to get where you want to go. I saw your post & thought i could take a stab at it. Be careful to examine ALL the effect of Download Controller before gleefully adding it for just a FAX field. Agin, hope that helps. :) ____________________________ MyronNet
Recommended Posts
Archived
This topic is now archived and is closed to further replies.