added date selection and totals to periods report