DEFRA / ruby-services-team

Guides, info and issue management for the Ruby Services team
Other
1 stars 3 forks source link

Confirmation PDF template cannot resolve external CSS static files on production servers #71

Open Cruikshanks opened 5 years ago

Cruikshanks commented 5 years ago

Originally from https://eaflood.atlassian.net/browse/RUBY-340

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

  1. Back office individual with grid reference
  2. Front office limited company with site address at valid postcode
  3. Back office partnership with manual address
  4. Front office LLP with grid ref
  5. Back office local auth with site at valid address
  6. Front office charity with manual address