changes of niazi

This commit is contained in:
2026-07-05 11:24:40 +02:00
parent 1158694896
commit dde7164050
6 changed files with 46 additions and 23 deletions
@@ -12,7 +12,12 @@ import { message } from 'ant-design-vue'
import type { Card } from '@/models/wallet'
import { useUserStore } from '@/store/userStore'
import { useConfigStore } from '@/store/configStore'
import { getProjectBaleContactLink, isBazretalaProject, isBoursecuProject } from '@/utils/config'
import {
getProjectBaleContactLink,
getWalletDepositQuickAmountsRial,
isBazretalaProject,
isBoursecuProject,
} from '@/utils/config'
import { useDesktopBreakpoint } from '@/layouts/composables/useAppLayout'
import {
buildDepositSmsUrl,
@@ -54,6 +59,7 @@ export interface WalletPageContext {
supportMessengerText: ReturnType<typeof computed<string>>
depositGuideSupportLink: ReturnType<typeof computed<string>>
depositSmsSupportLink: ReturnType<typeof computed<string>>
depositQuickAmounts: ReturnType<typeof computed<readonly number[]>>
isBazretalaProject: typeof isBazretalaProject
usePriceWithoutType: typeof usePriceWithoutType
formatCashWalletBalanceText: typeof formatCashWalletBalanceText
@@ -92,6 +98,8 @@ export function useWalletPage() {
() => supportMessengerSettings.value.messengerText || DEFAULT_SUPPORT_MESSENGER_TEXT,
)
const depositQuickAmounts = computed(() => getWalletDepositQuickAmountsRial())
const depositGuideSupportLink = computed(() => {
if (config.config?.name === 'garoosi' || isBazretalaProject()) {
return getProjectBaleContactLink()
@@ -288,6 +296,7 @@ export function useWalletPage() {
supportMessengerText,
depositGuideSupportLink,
depositSmsSupportLink,
depositQuickAmounts,
isBazretalaProject,
usePriceWithoutType,
formatCashWalletBalanceText,