cssgunc / cssgunc/carolinacloset

[BUG] Orders created in `/entry/search` are handled incorrectly

Open
#39 0 comments 0 reactions 1 assignee Claimed by @jackgoldsmith4 View on GitHub
bug
Dominant language
JavaScript
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I think this should be handled in one of two ways

1. Make the remove button on these cards just for updating the count of inventory, and not associating it with a transaction or user at all
2. Only allowing the admin to decrement the inventory item by one at a time to represent a Closet visitor taking it. In this case, the order would need to be created using the new flow. Removal of the item here should make the status of the item "inUse" and generate a return date

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.