Bug fix time invoice reports

Defects changes have been incorporated. Dates are now validated, and more checks have been included