When I print a pdf of a particular invoice, I'd like it to include order comments as well. I have no idea what files I need to edit to make this happen.
I tried following the instructions here to no avail.
invoicemagento-1.7orders
When I print a pdf of a particular invoice, I'd like it to include order comments as well. I have no idea what files I need to edit to make this happen.
I tried following the instructions here to no avail.
Best Answer
The last post used the getVisibleStatusHistory method of the order object, but the first comment entered on an order is never visible. There are several methods for grabbing the status history and setting it in the order object.
That being said we might want to list all of the comments that are marked as visible on front-ed and the first comment entered when the order is created. I've substitued your formatting with a "p" tag.