Private
Public Access
1
0

Use daily interest accrual for HELOC and auto loan amortization

Mortgages and personal loans use monthly compounding (rate/12), but
HELOCs and auto loans accrue interest daily (rate/365 * actual days).
Select the calculation method based on account type and update the
disclaimer to reflect which method is being used.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Catherine Renelle
2026-02-14 18:41:32 -05:00
parent 98104c0c0e
commit dd2cdbf815
2 changed files with 28 additions and 7 deletions
+8 -2
View File
@@ -104,7 +104,7 @@
</v-card>
<v-alert v-if="loanDetail" type="info" variant="tonal" density="compact" class="mb-4">
Amounts shown are estimates based on standard monthly compounding. Actual values may differ slightly due to your lender's rounding practices.
Amounts shown are estimates using {{ isDailyAccrualAccount ? 'daily interest accrual' : 'standard monthly compounding' }}. Actual values may differ slightly due to your lender's rounding practices.
</v-alert>
<!-- Amortization Schedule -->
@@ -268,12 +268,18 @@ const snackbar = ref(false)
const snackbarText = ref('')
const snackbarColor = ref('success')
const loanAccountTypes = ['AutoLoan', 'PersonalLoan', 'Mortgage']
const loanAccountTypes = ['AutoLoan', 'PersonalLoan', 'Mortgage', 'LineOfCredit']
const dailyAccrualTypes = ['AutoLoan', 'LineOfCredit']
const loanAccounts = computed(() =>
accountsStore.accounts.filter(a => a.hasLoanDetail || loanAccountTypes.includes(a.type))
)
const isDailyAccrualAccount = computed(() => {
const account = accountsStore.accounts.find(a => a.id === props.id)
return account ? dailyAccrualTypes.includes(account.type) : false
})
const amortHeaders = [
{ title: '#', key: 'paymentNumber', width: '60px' },
{ title: 'Date', key: 'paymentDate', width: '110px' },