Page 1 of 1

add phone to print invoice

Posted: Thu Jun 19, 2008 3:10 pm
by relish27
my client needs the customer phone number added to the print invoice. anyone know how to add it?

Re: add phone to print invoice

Posted: Thu Jun 19, 2008 4:43 pm
by jmestep
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>
           

Re: add phone to print invoice

Posted: Fri Jun 20, 2008 11:11 am
by relish27
thanks! that worked