diff --git a/src/components/templates/gift-card-table/index.tsx b/src/components/templates/gift-card-table/index.tsx index dfe34ff0a0..bb10d7934a 100644 --- a/src/components/templates/gift-card-table/index.tsx +++ b/src/components/templates/gift-card-table/index.tsx @@ -130,7 +130,7 @@ const GiftCardTable: React.FC = ({ giftCards }) => { {giftCard.balance ? ( giftCard?.region ? ( formatAmountWithSymbol({ - amount: giftCard.value, + amount: giftCard.balance, currency: giftCard.region.currency_code, }) ) : ( diff --git a/src/domain/gift-cards/custom-giftcard.tsx b/src/domain/gift-cards/custom-giftcard.tsx index d2d89d876d..3f13a1f8d3 100644 --- a/src/domain/gift-cards/custom-giftcard.tsx +++ b/src/domain/gift-cards/custom-giftcard.tsx @@ -51,9 +51,7 @@ const CustomGiftcard: React.FC = ({ onDismiss }) => { const update = { region_id: selectedRegion.value.id, - value: Math.round( - giftCardAmount / (1 + selectedRegion.value.tax_rate / 100) - ), + value: Math.round(giftCardAmount), ...data, }