chore(home): 이번 달 상환 예정 카드 유료 전용 — 무료는 계산·노출 생략
Deploy / deploy (push) Failing after 13m1s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
sb
2026-07-07 23:38:05 +09:00
parent 2b58e976fc
commit 5567a239df
+4 -3
View File
@@ -151,14 +151,15 @@ async function load() {
accountApi.netWorth(),
auth.isPremium ? accountApi.budgetStatus({ year, month }) : Promise.resolve([]),
accountApi.list({ year, month }),
accountApi.wallets(),
auth.isPremium ? accountApi.wallets() : Promise.resolve([]),
])
summary.value = sum
networth.value = nw
budgetTotal.value = (status || []).reduce((s, x) => s + (x.monthlyBudget || 0), 0)
spentTotal.value = (status || []).reduce((s, x) => s + (x.spent || 0), 0)
entries.value = list || []
await computeRepayDue(ws || [], list || [])
// 상환 예정은 유료 전용 — 무료 회원은 계산·조회 생략
if (auth.isPremium) await computeRepayDue(ws || [], list || [])
// 오늘 기록 여부로 가계부 리마인더 보정(오늘 기록 있으면 오늘자 알림 제외)
if (reminders.isNative()) {
const t = new Date()
@@ -329,7 +330,7 @@ onMounted(load)
</div>
<!-- 이번 상환 예정 (대출·카드할부, 현재일 기준 · 상환 기록 있으면 제외) -->
<div v-if="repayDue.hadAny" class="card repay-card">
<div v-if="auth.isPremium && repayDue.hadAny" class="card repay-card">
<div class="card-head">
<span class="card-title">이번 상환 예정</span>
<RouterLink to="/account/repayments" class="more">상환 </RouterLink>