canidlogic / zenlib

Simple library management system
MIT License
0 stars 0 forks source link

Track quantities of books #4

Open canidlogic opened 3 years ago

canidlogic commented 3 years ago

When there are multiple copies of books, have a quantity field tracking them. This was originally in the database, then taken out, but now we do actually need it.

Restrict the quantity to at least one, so that we don't have to deal with the odd problem of zero-quantity entries.

canidlogic commented 3 years ago

The upcoming overhaul system has a quantity field, and also a way of determining current inventory against the lending tables. Still a bit unclear on how exactly to handle zero quantities, whether that should be allowed or not.