Skip to content

Commit

Permalink
bug: make sure rate is not displayed if fee amount is adjusted
Browse files Browse the repository at this point in the history
Fixes ISSUE-547
  • Loading branch information
ansmonjol committed Nov 13, 2024
1 parent 4e105a7 commit 2ddc84c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ export const InvoiceDetailsTableBodyLine = memo(
</td>
{canHaveUnitPrice && (
<>
{chargeModel === ChargeModelEnum.Percentage ? (
{chargeModel === ChargeModelEnum.Percentage &&
fee?.adjustedFeeType !== AdjustedFeeTypeEnum.AdjustedAmount ? (
<td>
<Typography variant="body" color="grey700">
{fee?.amountDetails?.rate}%
Expand Down

0 comments on commit 2ddc84c

Please sign in to comment.