Since we were unable to debug the reason why the generated PDF was unable to resolve and load the correct CSS external resource, and hence apply the correct style, we have added to the code in line with the HTML template and this ticket is for us to remember to go back and try to resolve the issue of loading the style from an external file.
Done should include:
Email PDF looks identical, or as close as possible, to the one generated on the back office
Exemptions are in the same order that they’re presented on screen (they’re currently in reverse order)
Font is Helvetica or Arial, not Verdana
The order and headings of each section are the same as in RUBY-66
EA logo is present (query - what is the latest design, there have been some discussions about this?)
All headings are in “Sentence case”, not “Title Case”
Page breaks are clean between each section
Works from back and front office
The operation location works with grid references, site address lookup and manual site addresses
Works with all business types
Test cases
Back office individual with grid reference
Front office limited company with site address at valid postcode
This ticket has been extrapolated from https://eaflood.atlassian.net/browse/RUBY-223 and is about tech debt.
Since we were unable to debug the reason why the generated PDF was unable to resolve and load the correct CSS external resource, and hence apply the correct style, we have added to the code in line with the HTML template and this ticket is for us to remember to go back and try to resolve the issue of loading the style from an external file.
Done should include:
Test cases