Add checkout/custody feature for tracking items in personal possession
Build and push image / build (push) Successful in 1m8s

Items can now be checked out of their bin into "my custody" and later
checked back in or marked consumed. Adds checkout/checkin API endpoints,
a My Custody sidebar page, CheckoutFlow and CheckinFlow modals, and
updates ProductDetail, Inventory, ConsumeFlow, and MarkGoneFlow to
handle the new checked-out status. Bulk items prompt for remaining
weight on check-in.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-07 20:49:58 -04:00
parent 04bf009a83
commit e7fd9af62c
17 changed files with 689 additions and 18 deletions
+2
View File
@@ -32,6 +32,7 @@ type InventoryRow = {
status: string;
consumed_date: string | null;
gone_date: string | null;
checkout_date: string | null;
rating: number | null;
notes: string | null;
};
@@ -108,6 +109,7 @@ bootstrapRouter.get("/bootstrap", (_req, res) => {
status: i.status,
consumedDate: i.consumed_date,
goneDate: i.gone_date,
checkoutDate: i.checkout_date,
rating: i.rating,
notes: i.notes,
audits: (auditsByInventory.get(i.id) ?? []).map((a) => ({