Require review before Tahesab wallet sync and harden accounting admin UX.
Single-customer and row sync preview balances with documents before overwrite/keep; bulk sync keeps confirm. Also ship Zarin wallet sync actions, field help, and get_user cache improvements. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -22,6 +22,13 @@ export function hasAppUiConfig(): boolean {
|
||||
return Boolean(cfg)
|
||||
}
|
||||
|
||||
/** true اگر get_user → ui_variant برابر modular باشد (بنرهای تم اپ) */
|
||||
export function isModularUiVariant(): boolean {
|
||||
return String(getConfigApp('ui_variant') ?? '')
|
||||
.trim()
|
||||
.toLowerCase() === 'modular'
|
||||
}
|
||||
|
||||
let storeModeFromSettings: boolean | null = null
|
||||
let settingsBootstrapped = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user