Magento HTML Invoices, Print, Save, PDF

created August 23, 2013, last updated May 24, 2015.

.
closeThis post was last updated 4 years 5 months 19 days ago, some of the information contained here may no longer be actual and any referenced software versions may have been updated!

A Magento invoice display and printing system using PHP that can run externally to Magento.

The application displays Magento orders based on a time range in days and lets you display or print them with one click.

You can select a range of orders and preview the invoices, or print them by clicking on each order to select it. and clicking the print button.

Acknowledged orders (printed orders) are recorded and shown with a print symbol next to the order. (requires a configured cache folder writeable by www user.)

Click the time range to change the order time range in days. Some customer data can be edited directly in the app and exported to a text file which can be useful for automatic imports to shipping software etc.

Invoices can be displayed in the language they were placed in – simply create a translation file for your language and configure the application store id’s and languages.

Tested with
Chrome and Firefox – IE9/10 has some issues with printing.
Magento 1.3x – 1.7x (Community Edition)

Source code – https://github.com/gaiterjones/magento-invoices

Copy the source files to a web accessible folder and configure settings in the configuration files. Point your browser at the installation folder to view orders.

BETA Demo below NOTE – no application security has been included, you should secure the application folder with Apache or implement a PHP login system. Installing the app in a public folder will give public read/write access to your Magento data!

Comments

  1. Very interesting idea! So there is really an HTML template behind it which is fully custombisable? Sounds promising… Will you publish the code on GitHub?

    I think it is still a problem that the user has to print the PDF on his own – a one-click PDF version would be cool. And a must-have for production would be to be able to print more than one invoice at a time 🙂

    • PAJ says:

      There is HTML behind it, and it is customisable if you know HTML. I will be developing a one button print all invoices solution with this as I need that too and will look into PDF. It’s not on github yet but it will be. If you want to test it let me know.

  2. Rob says:

    Not sure if you are still watching your site but this is really useful and I was wondering where is template is located as I wish to modify it slightly.
    I tried here
    app/design/adminhtml/default/default/template/paj/htmlinvoice/invoice.phtml
    as per the original extension but it doesnt seem to make a difference.

    Am I missing something?

    Thanks

  3. Kimberly says:

    Hi Paj,
    We have a client that is currently using this module and they are having issues with the date on the invoice always being the current date as opposed to the date when the order was placed? Can you please advise if there is a fix here for this issue?

    Thanks, Kim