![]() ![]() So it's best to keep this setup running on your local machine. So in my case the URL that will generate the PDF is: As stated in the documentation it's not recommended to run this API on a public domain. ![]() It will run by default on localhost:9000. It tells you where the Express Server is listening on. ![]() It is as easy as cloning the repo and running npm start. I went with the amazing URL to PDF Microservice package. But for my own workflow, I wanted something free and more nerdy. For example, although I haven't tested it yet, Enupal Snapshot looks like a solid option. There are several ways to accomplish this. We created a basic template that will render our invoice. We've set up our section in Craft that will contain our invoices. The most important part is already mentioned above (calculating the invoice total). I didn't share the Twig templating code since there is not much to it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |