Code cleanup for daily report summary