Improve performance of invoice page.

1. Pull detail data from server when 'detail' button clicked.
2. Added two year limitation to invoice page. (Only show invoices that were created in past two years)