changed from modal to view for invoiceDetail