#1 I’m customising a built in template. I’m pretty sure the template I was customising is “Clean”, although I can’t check right now. Reason: Currently (I have no idea why, as it was more-or-less working with Phantom a few hours ago, and I’ve done nothing to the system since then) I can’t generate PDF files or previews at all without a 500 error. I’ll likely have to move to a paid invoice platform over the weekend, as this is absorbing too many hours of my time. But happy to help with the current bugs / issues I’ve reported thus far.
#2 and #3 … thanks.
#4 My PDFs a for sure in letter format, as per the dimensions I posted on the screenshot.
I am happy to let you know that we got the first prototype of this up and running. You can see the quick implementation on the GitHub page (we will document this later in our official documentation, of course).
However, at the moment, easy way to find all selectors & get better inside of templates, we provide a setting that will let you output the HTML of the PDF into the storage/logs/laravel.log file so you can easily see all selectors.
To enable that add the following into your .env file:
… and don’t forget to php artisan optimize to make sure the app pickups your changes.
To learn more about awesome CSS selectors, you can check out this page: