Skip to content

Commit

Permalink
do not show for dependants
Browse files Browse the repository at this point in the history
  • Loading branch information
dimmik committed Apr 14, 2024
1 parent 056a846 commit 8e47f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TCBlazor/Client/Components/PersonDebt.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@{
var willPay = tour.AmountAPersonWillPay(person);
}
@if (Math.Abs(willPay - debt) > 5) // to avoid rounding errors
@if (string.IsNullOrWhiteSpace(person.ParentId) && Math.Abs(willPay - debt) > 5) // to avoid rounding errors
{
<span style="font-size:xx-small"> [@willPay.ToString("N0", GlobConsts.NumGroupSpaceSeparated)]</span>
}
Expand Down

0 comments on commit 8e47f48

Please sign in to comment.