Unable to find Invoice template.

Posts: 4
Joined: 02/18/2008

Greetings,

I'm trying to edit the current admin invoice in the admin area NOT the emailed invoice. As I understand the documentation, I'm to duplicate and edit: sites/all/modules/ubercart/uc_order/templates/admin.itpl.php. But it doesn't seem to affect the invoice when i look at it in the admin area.

I'm wondering if maybe that's only the emailed invoice.

Where do i find the template or the file that creates the "printable invoice" when viewing an order in the admin area?

This is probably covered somewhere but I've been digging around for a while with no luck.

Thanks in advance for your time.

John.

Posts: 3898
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Hey John, the one you can see in the admin area is the same one that is e-mailed to the customer. That might deserve to be changed in the future, but for now the best you can do to have that show two different invoices is to check the URL using Drupal's arg() function to decide what to display.