Now printing an invoice with the complete information of an order has been simplified with spree-html-invoice extension which is forked from konung/spree-html-invoice and being maintained with regular updates. With the use of this extension, one can override invoice html and thus can have control over the content that is going to be printed.
Installation:
gem ‘spree_html_invoice’ , github: ‘vinsol-spree-contrib/spree-html-invoice’ bundle install
Usage:
An Admin can effortlessly print and download the invoice for an order with the help of Print Invoice button provided on the order detail page.
Testing:
bundle bundle exec rake test_app bundle exec rspec spec
As it is an open source extension, you can access the code here. Follow us on twitter for more updates.