add phone to print invoice

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
relish27
Ensign (ENS)
Ensign (ENS)
Posts: 16
Joined: Mon Jun 02, 2008 2:50 pm

add phone to print invoice

Post by relish27 » Thu Jun 19, 2008 3:10 pm

my client needs the customer phone number added to the print invoice. anyone know how to add it?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: add phone to print invoice

Post by jmestep » Thu Jun 19, 2008 4:43 pm

This is just a quick fix because the phone is buried somewhere in other code and I haven't tracked it down. On the Admin/Orders/Print/Invoices.aspx, adjust the code:

Code: Select all

 <tr>
                    <td style="width:10px;text-align:center;font-weight:bold" valign="top">
                        S O L D &nbsp; T O
                    </td>
                    <td valign="middle" width="50%">
                        <%# GetBillToAddress(Container.DataItem) %>

                    </td>
                    <td style="width:10px;text-align:center;font-weight:bold" valign="top">
                        S H I P &nbsp; T O
                    </td>
                    <td valign="middle" width="50%">
                        <%# GetShipToAddress(Container.DataItem) %>
                    </td>
                </tr>
[I added this line here--->]<tr><td><asp:Label ID="Label1" runat="server" Text="Billing Phone:"></asp:Label></td><td>'<%# Eval("BillToPhone") %>'</td></tr>
           
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

relish27
Ensign (ENS)
Ensign (ENS)
Posts: 16
Joined: Mon Jun 02, 2008 2:50 pm

Re: add phone to print invoice

Post by relish27 » Fri Jun 20, 2008 11:11 am

thanks! that worked

Post Reply