Added PDF generation for invoices