Open Tookmund opened 5 years ago
We could keep track of the items the user wants to checkout in JavaScript. Then, Checkout could be passed a list of ids of the hardware the user wants
The checkout tables hardware and quantity columns would need to be arrays
This is an anti pattern called “Jaywalking”
Right now we can only checkout one kind of thing at a time. This could be very inconvenient if someone wanted to checkout a bunch of smaller things