BeHappyCommunication / SyliusInvoicePlugin

A Plugin for Sylius to generate invoices (! deprecated, use sylius/invoicing-plugin instead)
MIT License
13 stars 3 forks source link

[ADDED] custom template path functionallity with parameter #3

Closed Timu57 closed 6 years ago

Timu57 commented 6 years ago

I think many other people need to make their custom templates too, so I decided to make a pull request :)

Roshyo commented 6 years ago

Thanks for your contribution, but in order to not duplicate informations, we'd rather let knp snappy document wkhtmltopdf configuration. For the overriding part, I believe it's not required to add a template path. You simply need to create a file under app/Resources/BeHappySyliusInvoicePlugin/views/Invoice/pdf.html.twig

Timu57 commented 6 years ago

Your right, my fault.. but I think you should update the README a little bit to make the setup easier.

At least, you should mention, that wkhtmltopdf is needed on the system.

Roshyo commented 6 years ago

Done.