Skip to content

Better Inventory Control #57

Description

@jasonlavigne

The inventory control needs to be separate from the other information on the ticket page. Make it the last item in the Accordion Style.

img 52

a. Using the stats from the above API request, create a pie chart. The NumberTotal is the max for the pie chart, NumberAvailable in blue, NumberSold in green and NumberLocked in yellow.
b. Use a + to allow the user to add more tickets by selecting the number to add. InventoryService.AddInventoryItemsAsync
c. The max number of tickets that can be added must be Event.MaximumCapacity minus the number of tickets that are already in the event. Each item in Event.Items contains a property called NumberTotal, sum that up and you have the total number of all tickets for the event. The user cannot exceed the Event.MaximumCapacity.
d. Use a – to allow the user to remove tickets by selecting the number to remove. The user cannot remove more tickets than NumberAvailable. InventoryService.RemoveInventoryItemsAsync
e. A slider tool might work well for this. The min for the slider is NumberSold + NumberLocked, the max is defined in c above.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions