A shop inventory and checkout
A small point-of-sale system. Load a stock list, print it with your own Display impls, sort and total it with derived traits, report bad lines with a real error type, check out orders, and apply discounts through a pricing trait.
Milestones
- Items that print themselves
- Sorted stock and category totals
- Bad lines and a real error type
- Checkout
- Discounts with a trait
- Polish: promotions in one place, and restock warnings