feat(product): add show_in_list toggle and TV price formula UI
- show_in_list switch in product editor - TvFormulaPriceSection component (blue theme) shown when show_on_tv is on - Form defaults, model type, and submit logic for new fields Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,6 +27,7 @@ export interface Product{
|
||||
show: boolean
|
||||
show_in_assets?: boolean
|
||||
show_on_tv?: boolean
|
||||
show_in_list?: boolean
|
||||
trade_by_quantity?: boolean
|
||||
override_trading_hours?: boolean
|
||||
use_last_price_if_zero?: boolean
|
||||
@@ -40,6 +41,8 @@ export interface Product{
|
||||
app_price?: boolean
|
||||
price_formula_enabled?: boolean
|
||||
price_formula?: string | null
|
||||
tv_price_formula_enabled?: boolean
|
||||
tv_price_formula?: string | null
|
||||
price: number
|
||||
price_profit?: number
|
||||
price_offset_percent?: number
|
||||
|
||||
Reference in New Issue
Block a user