开发者

Creating a pdf invoice in rails/ruby

开发者 https://www.devze.com 2023-02-04 01:31 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号