I need to save a copy of the quote pdf from WHMCS to a location outside the WHMCS directory so that we can send a direct link to the quote pdf to the client.
This is how I want it to work.
- We view the quote PDF inside WHMCS admin area
- When the pdf is viewed, a copy is saved to www.ourdomain.com/quotes/999.pdf
- Then we can send a link to the client directly to the quote at www.ourdomain.com/quotes/999.pdf
Currently, you can only view the physical quote pdf when logged in as an admin user and there is no way with any hook or includes to grab the pdf.