Hide Zaarbox key on Montzar and tighten product pricing UI.
Hide zaarbox_price_key when price_provider is montzar, add +/- for fixed melted and manual prices, drop formula on fixed, and remove the show-in-assets switch. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -253,6 +253,11 @@ export function isSettingVisible(key: string | undefined | null): boolean {
|
||||
const provider = (priceProviderSetting.value || '').trim().toLowerCase()
|
||||
if (provider && provider !== 'montzar') return false
|
||||
}
|
||||
// شناسه ردیف تابلو فقط برای منبع zaarbox معنی دارد
|
||||
if (k === 'zaarbox_price_key') {
|
||||
const provider = (priceProviderSetting.value || '').trim().toLowerCase()
|
||||
if (provider === 'montzar') return false
|
||||
}
|
||||
// تنظیمات قابلویرایش کانال فقط وقتی دسترسی دیپلوی روشن است
|
||||
if (PRICE_CHANNEL_PANEL_KEYS.has(k) && !priceChannelAccessSetting.value) return false
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user