Skip to content

Commit

Permalink
feat: add liquid interest amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Ascenio committed Dec 8, 2024
1 parent 4708923 commit a8ceadc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/InvestmentResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
color='red lighten-2'
/>
</div>
<div>
Rendimento Líquido: {{ liquidAmountDisplay }}
</div>
<div>Valor Total Líquido: {{ totalAmountDisplay }}</div>
<v-progress-linear v-model='totalProfitPercentage' :color='color' height='25'>
{{ totalProfitPercentageDisplay }}
Expand Down Expand Up @@ -93,6 +96,7 @@ const taxPercentageDisplay = computed(() => filters.percent(props.taxPercentage)
const taxAmountDisplay = computed(() => filters.currency(props.taxAmount))
const amountDisplay = computed(() => filters.currency(props.amount))
const iofAmountDisplay = computed(() => filters.currency(props.iofAmount))
const liquidAmountDisplay = computed(() => filters.currency(totalProfit.value))
const totalAmountDisplay = computed(() => filters.currency(totalAmount.value))
const interestAmountDisplay = computed(() => filters.currency(props.interestAmount))
const totalProfitPercentageDisplay = computed(() => filters.percent(totalProfitPercentage.value))
Expand Down

0 comments on commit a8ceadc

Please sign in to comment.