This commit is contained in:
greeneclipse committed 2026-10-16 13:48:51 +02:00
1 parent feebf7d3c1
commit 486502852e
41 files changed
+1311 -259

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# Descrybe v19 — Per-product plan pricing + JAGER meeting
## Changes
- Admin > Billing > Create/Edit plan: **Processing mode** dropdown (`Choose outputs` or `Per product`).
- `Per product` sets a flat, decimal credit charge for one product process; it replaces the 3 output checkboxes in Product Management **only for companies assigned to such plans**.
- Per-output pricing remains the default for all existing plans. Legacy plans can opt in by editing them.
- The effective customer/company price is used for display, preflight balance checks, and actual debits, including public API processing.
- Updated concise 30-minute Slovenian JAGER meeting in `README_JAGER_SESTANEK_SL.md`, `README_SESTANEK_SL.md`, and `docs/client/`.
- Detailed acceptance checks: `docs/V19_PER_PRODUCT_PLAN_MODE.md`.
## Deployment
Commit this source to Git and run the existing deployment. Requires the previously applied migrations 049 and 053. No new migration is needed. Deploy frontend/API/worker together.
## Verification
Passed: isolated Go 1.23 test of the exact flat-rate debit function; 4 focused Node frontend tests; changed Go source formatting, Svelte script parsing, and Svelte control-flow balance checks. Full Go 1.25, Svelte production build, and live PostgreSQL/Stripe tests were not available in this environment.