added notif 2

This commit is contained in:
2026-07-23 22:24:26 +03:30
parent d505f3b5bd
commit bd441a0e8e
31 changed files with 2105 additions and 34 deletions
+2 -2
View File
@@ -609,7 +609,7 @@ const userInfo = ref<Customer>()
const accountingCodeVisible = computed(() => {
const provider = accountingProviderSetting.value
return provider === 'pargar' || provider === 'tahesab'
return provider === 'pargar' || provider === 'tahesab' || provider === 'zarin'
})
const conditionalOrderEnabled = computed(() => conditionalOrderEnabledSetting.value)
@@ -631,7 +631,7 @@ function onConditionalOrderUpdated(payload: {
const accountingCodeValue = computed(() => {
const provider = accountingProviderSetting.value
if (provider === 'pargar') return displayAccountingCode(userInfo.value?.pargar_account_id)
if (provider === 'tahesab') return displayAccountingCode(userInfo.value?.moshtari_code)
if (provider === 'tahesab' || provider === 'zarin') return displayAccountingCode(userInfo.value?.moshtari_code)
return '-'
})