josh cd7aeb9d09
Build and push image / build (push) Successful in 51s
Per-unit pricing for discrete products
Pre-rolls, edibles, and vaporizers are sold and reasoned about per unit
("$10 each") rather than as a bag total. The Add and Edit forms now ask
for "Price per unit" when the kind is discrete, and the product drawer
displays the per-unit number with the total as a small subline. Bulk
products (flower, concentrate, tincture) still take and show a total.

The stored price column remains the total, so existing data, spend
totals, sort-by-price, and bin value calculations all keep working
unchanged. Conversion (pricePerUnit × countOriginal) happens at the
form boundary on save and the inverse on edit-modal load.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 21:59:35 -04:00
2026-05-03 21:42:33 -04:00
2026-05-03 20:19:26 -04:00
2026-05-03 20:19:26 -04:00
S
Description
No description provided
1.3 MiB
Languages
TypeScript 98%
CSS 1.6%
Dockerfile 0.2%
HTML 0.2%