Creating a pdf invoice in rails/ruby
I want to create an invoice in PDF format using rails/ruby.
So comp开发者_如何学Goany header and the top, client information, and then line items with pricing and then a total at the bottom etc.
What do you guys advise?
Is it tricky to get the formatting correct so it prints out correctly?
I recommend a gem called prawn: http://prawn.majesticseacreature.com/
I've used it before and liked the results.
There is this great alternative oo:
http://railscasts.com/episodes/220-pdfkit
精彩评论