changes for last seven days records on view