Creating a pdf invoice in rails / ruby

I want to create an invoice in PDF format using rails / ruby.

So, the heading of the company and the top, customer information, and then the position with the price, and then the total amount below, etc.

What do you guys recommend?

Is it difficult to get the right formatting so that it prints correctly?

+4
source share
2 answers

I recommend a stone called shrimp: http://prawn.majesticseacreature.com/

I used it before and liked the result.

+5
source

There is such a great alternative to oo:

http://railscasts.com/episodes/220-pdfkit

+3
source

Source: https://habr.com/ru/post/1335564/


All Articles