Closed dave-mills closed 1 year ago
Got latest code and performed testing in local env. I manually created the "prints" folder in C:\public\aec\storage\app\prints. PDF file has been generated with visible content. But browser returns error 404, while the pdf file is existed.
Screen shots:
Click Generate PDF button
Error occured
I manually created the "prints" folder in C:\public\aec\storage\app\prints
Try again
Returns error 404
PDF file is generated
PDF file content is visible, it also shows the radar chart now
Returns error 404
Fixed :)
It works now, looks very nice.
This PR fixes the pdf print for the initiatives page (fixes #78, fixes #109). It also updates the print formatting for that page.
.animated.fadeIn
in the main template - the browsershot was being taken immediately upon load, at which point the fade in animation was not complete._print-tweaks.scss
.There is still an issue where we cannot modify the pdf file in the ways that we should with Browsershot and Puppeteer - e.g. page orientation, page margins etc. But that is less of a concern now.
TODO: