Changes to invoice in AC 7.0.7
-
- Ensign (ENS)
- Posts: 7
- Joined: Wed Aug 15, 2007 6:14 am
- Location: Woodstock, NY
- Contact:
Re: Changes to invoice in AC 7.0.7
is there a way to add the order note and shipping notes to vieworder.asp? We wish the print invoice function would print everything on vieworder.asp as this is what we print to file
Re: Changes to invoice in AC 7.0.7
We have everything working the way that we want EXCEPT for the placement of the shipping method. It is easy enough to remove it, but we cannot figure out how to add it to another location (below the payment method). Can someone help with this?
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: Changes to invoice in AC 7.0.7
I had the same issue. It was done as one code block so remove it from the original and add one like this.
tcssshipmethod you can replace with whatever you want and then just call this block of code the same way it is called for the original block (except changing the name)
Code: Select all
protected string tcssshipmethod(object dataItem)
{
Order order = (Order)dataItem;
List<string> addressList = new List<string>();
foreach (OrderShipment shipment in order.Shipments)
{
string shipTo = shipment.ShipMethodName;
if (!addressList.Contains(shipTo)) addressList.Add(shipTo);
}
if (addressList.Count == 0) return "n/a";
return string.Join("<hr />", addressList.ToArray());
}
Re: Changes to invoice in AC 7.0.7
I am sorry, but is this code added to the .cs file, or overwriting part of the code? And, what would be the correct call in the .aspx file to place the shipping method?
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: Changes to invoice in AC 7.0.7
PM me for my email and then send me the two files and I will change it for you.
Re: Changes to invoice in AC 7.0.7
Does anyone have a zip file of invoice.aspx and invoice.aspx.cs that prints shipping message and orders notes? I downloaded mazhar's last download, and it looks very good, but it is lacking order notes at the bottom.
Able Customer Since 1999 Currently Running on GOLD R12 SR1 and PCI Certified.
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: Changes to invoice in AC 7.0.7
Thanks Tim,
I will give that a try.
I will give that a try.
Able Customer Since 1999 Currently Running on GOLD R12 SR1 and PCI Certified.
Re: Changes to invoice in AC 7.0.7
I am glad I found this post. Now I got rid of all those discount lines. I would like to get them off the purchase oreder all together. There is no need to have discounts listed on the pruchase order, at least I can't see why. Is it possible to do that as well?
Aslo, on the invoice, it would be nice to have a "price each" column.
Thanks for the help,
Scott
Aslo, on the invoice, it would be nice to have a "price each" column.
Thanks for the help,
Scott
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
Re: Changes to invoice in AC 7.0.7
My problem now is that sometimes I can't print an invoice. I get:
"We are sorry, but the page you are trying to access has experienced an error.
Please contact scott@contractors-solutions.net to report this problem."
This has happened twice now in the last couple days. Could it have anything to do with the changes?
"We are sorry, but the page you are trying to access has experienced an error.
Please contact scott@contractors-solutions.net to report this problem."
This has happened twice now in the last couple days. Could it have anything to do with the changes?
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net