From dc52014237a3b6ce72c6dd5d445d6a920ccb5617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carneiro?= Date: Mon, 18 Nov 2024 12:07:49 +0000 Subject: [PATCH] Remove unecessary comment --- src/utils/index.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 0c13335..780f33f 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -135,12 +135,6 @@ export const computePriceItemValues = ( cashbackAmount = unitAmount.multiply(cashbackPercentage).divide(100); } - /** - * The cashback amount must take into account the price recurrence - * For 1 time prices we just subtract the cashback amount from the unit amount - * For recurring prices we divide the cashback amount by the number of periods in 1 year, and then subtract it - * from the unit amount - */ const normalizedCashbackAmount = normalizeTimeFrequencyFromDineroInputValue( cashbackAmount, 'yearly',