docs: finalize request terminology updates and clean up license transforms
All checks were successful
Staging Build / build (push) Successful in 2m48s

This commit is contained in:
DanielS
2026-07-09 22:58:35 +02:00
parent 21c4aa859e
commit a93fb975c0
2 changed files with 5 additions and 7 deletions

View File

@@ -136,7 +136,7 @@ export function buildOrderSnapshot(
})
const moduleTotal = selectedModules.reduce((acc, m) => acc + (m.total_price || m.price), 0)
// If this product falls under the free limit, set its base price to 0
const actualBasePrice = (sortedIndex < freeLimit) ? 0 : prod.base_price
const itemTotal = actualBasePrice + moduleTotal
@@ -146,7 +146,7 @@ export function buildOrderSnapshot(
category_id: cat.id,
category_name: cat.name,
product_id: prod.id,
product_name: prod.name + (actualBasePrice === 0 ? " (Inklusive/Frei)" : ""),
product_name: prod.name + (actualBasePrice === 0 ? "" : ""),
base_price: actualBasePrice,
billing_interval: prod.billing_interval,
selected_modules: selectedModules,