Add formula price controls to the product editor.
Admins can enable a reference-based formula (P/W/MG) with live calculated unit price preview, matching the colleague-app pricing flow. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -37,6 +37,8 @@ export interface Product{
|
||||
prices: MethodePrices[]
|
||||
direct_price: number
|
||||
app_price?: boolean
|
||||
price_formula_enabled?: boolean
|
||||
price_formula?: string | null
|
||||
price: number
|
||||
price_profit?: number
|
||||
price_offset_percent?: number
|
||||
|
||||
Reference in New Issue
Block a user