commerce pdf invoice not work as intendet
Hi drupal commerce users,
I tried to get 'commerce pdf invoice'-module to work. But it not really work, as i aspected. I've installed the libs and the module, as it is described in the docs but the only thing which is printed to pdf is the text 'invoice' ... I've changed nothing on the standard view settings ... what did I wrong ?
Is there a better way to get the commerce invoices printable?
Comments
I can not make it works
Your are not alone ! I don't understand how it works.
Is someone can help us ?
Thanks
hey cedric and everybody who
hey cedric and everybody who have the same problem:
set the font size for all fields in the views settings (format -> display -> settings) and voila u have a working pdf invoice :D
Are you sure?
I have tried Views PDF together with Commerce Invoice. However, it seems that the PDF module is still buggy. How did you solve it?
I have the pdf but it's completely blank
The worst is the poor documentation about the module Invoice PDF and Views PDF
Font size and horizontal scroll
Hi
I have tried many different things to get a nice PDF invoice and finally, the tip above was perfect (conscience). You have to set a font size to each label and value in the "Commerce Invoice" View AND the "Commerce Pdf Invoice Line Items" View, which is included in the first one. In "CPI Line items", something tricky, you have to scroll on the right to access the fields values configuration. Once this is done, you just have to set your style, position, etc. (or maybe define a CSS class to the CI View)
Finally, you can add a link in each mail or page you build, with href="/commerce/invoice/[commerce-order:order-number]" (Token needed) and it should works.
"A plus"
Toki