Added base_uri to css links
Fixed to use pdfs rather than html for invoices