hack4impact-calpoly/youth-arts

Admin Export Reports

Closed this issue · 0 comments

Reports Page

React material-ui has a pretty nice built in tool to display a table and export to CSV so that might be easier than using the nodejs endpoint https://material-ui.com/components/data-grid/export/ and then you can add to the toolbar to sort/filter

First let them search and filter for a Specific Opportunity, and then next to the opportunity in the data table, have an export button to:

  1. Export Volunteers to csv:
    • Volunteer First/Last Name
    • Volunteer Phone Number
    • #18
  2. Export Opportunity Info to csv:
    • (At the top put the event name, interests, date, time)
    • the volunteer's name
    • the volunteer's hours (for this particular opportunity: end time - start time)
    • the items donated
    • the volunteer's email
    • the volunteer's phone number
    • the volunteer's address
    • the volunteer's tasks
    • #18

Or give them the ability to filter based on a date range and export the whole table of filtered data based on a date range:

  1. Export to csv a list of all Opportunities with their:
    • title of the event
    • date
    • time
    • interest
    • tasks
    • count of volunteers
    • donated items
    • calulate total hours for all opportunities
    • #45