salary report and document.

Working on getting document to save to db (not working!)