From a8ceadc0fe8dbb9a68fdac6972196f2885a3c500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asc=C3=AAnio=20Sanderson?= Date: Sun, 8 Dec 2024 17:58:30 -0300 Subject: [PATCH] feat: add liquid interest amount --- components/InvestmentResult.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/InvestmentResult.vue b/components/InvestmentResult.vue index c0fb096..c118df7 100644 --- a/components/InvestmentResult.vue +++ b/components/InvestmentResult.vue @@ -16,6 +16,9 @@ color='red lighten-2' /> +
+ Rendimento Líquido: {{ liquidAmountDisplay }} +
Valor Total Líquido: {{ totalAmountDisplay }}
{{ totalProfitPercentageDisplay }} @@ -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))