before model makes more sense.
get rid of unnecessary files
move datesdidchange to invoice model
hide download link if we aren't downloading