Add bonus relation creation entrypoint

This commit is contained in:
Ruslan Bakiev
2026-04-07 14:40:27 +07:00
parent 647947d9cb
commit af5d06f990
2 changed files with 93 additions and 20 deletions

View File

@@ -308,7 +308,17 @@ function compactProductTitle(product: ProductCard) {
: activeTab === 'withdrawals'
? 'Номер выплаты, клиент или сумма'
: 'Название или номинал'"
/>
>
<template #controls>
<NuxtLink
v-if="activeTab === 'balances'"
to="/admin/bonuses/referrals/new"
class="btn btn-primary border-0"
>
Добавить
</NuxtLink>
</template>
</UiSectionSearchHero>
<template v-if="activeTab === 'balances'">
<div v-if="balancesQuery.loading.value || referralLinksQuery.loading.value || usersQuery.loading.value" class="manager-empty-state">