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:
2026-08-30 21:18:26 +03:30
co-authored by Cursor
parent 04cc03fe25
commit 1c4b2d4435
60 changed files with 2464 additions and 552 deletions
+7
View File
@@ -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