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

Adds unused tickets statistics #34

Merged
merged 7 commits into from
Apr 23, 2024
Merged

Adds unused tickets statistics #34

merged 7 commits into from
Apr 23, 2024

Conversation

A-Guldborg
Copy link
Contributor

@A-Guldborg A-Guldborg commented Apr 15, 2024

Closes #9

Adds a page for statistics in general. This is currently restricted to be viewed only by board members.
This pull request also adds the first statistic view: Unused Tickets, which can be filtered between two dates.
Number of tickets and their value is summed in the footer, see below screenshot.

image

Also identified AnalogIO/analog-core#278 during development but is not blocked by the PR, as it only relates to the documentation and not the actual code.

Note:
Managers should have access to /voucher as the storage crew is the current primary user of this subpage. I forgot to add the voucher link in the navmenu in previous builds so I just included it in this PR.

@A-Guldborg A-Guldborg added the enhancement New feature or request label Apr 15, 2024
@A-Guldborg A-Guldborg self-assigned this Apr 15, 2024
Shifty.App/Components/UnusedTickets.razor Outdated Show resolved Hide resolved
Shifty.App/Components/UnusedTickets.razor Outdated Show resolved Hide resolved
Shifty.App/Components/UnusedTickets.razor Outdated Show resolved Hide resolved
Shifty.App/DomainModels/UnusedTicket.cs Show resolved Hide resolved
Shifty.App/Pages/Statistics.razor Show resolved Hide resolved
Shifty.App/Services/UnusedTicketsService.cs Outdated Show resolved Hide resolved
Shifty.App/Shared/NavMenu.razor Outdated Show resolved Hide resolved
Shifty.App/Components/UnusedTickets.razor Show resolved Hide resolved
Copy link
Member

@TTA777 TTA777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@A-Guldborg A-Guldborg merged commit 7cfd6fa into main Apr 23, 2024
2 checks passed
@A-Guldborg A-Guldborg deleted the feature/admin-statistics branch April 23, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI for getting simple statistics of purchases
2 participants