Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reservation Rate excel export #52

Merged
merged 2 commits into from
Apr 4, 2022

Commits on Apr 4, 2022

  1. Create Reservation Rate Excel report

    Add new endpoint where you can download an excel
    report that contains a separate sheet for each
    unit. Each sheet will have a summary that contains
    unit name, time filters, reservation rate. Below
    summary a list of resources with their sums
    of reserved time per each resource. Below this
    will be listings of reservation details per resource.
    
    The endpoint will take parameters that will be used
    for filtering the queries. Required filters are:
    list of units, begin date and end date. Times are
    optional, but will default to 08:00 and 16:00.
    
    Create serializers for the purpose of having a simple
    top-down data structure.
    
    Use the BaseReport base class for the new view.
    
    Create a custom excel renderer.
    Kevin Seestrand committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    a0a2404 View commit details
    Browse the repository at this point in the history
  2. Remove impossible test

    Test kept failing due to it testing that an exception
    should be raised. But the code that it tests is now
    wrapped in a try except block which swallows the raised
    exception so it can not be passed to the test.
    Kevin Seestrand committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    eefaf92 View commit details
    Browse the repository at this point in the history