Cosmrtic changes
This commit is contained in:
parent
343564fcc0
commit
c4d5dd46dd
@ -23,7 +23,9 @@
|
||||
foreach (var band in await _taxBandRepository.GetTaxBands())
|
||||
{
|
||||
if (annualSalary <= band.LowerLimit)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
decimal taxableAmountInBand = band.UpperLimit.HasValue
|
||||
? Math.Min(annualSalary, band.UpperLimit.Value) - band.LowerLimit
|
||||
@ -33,7 +35,9 @@
|
||||
taxPaid += taxInBand;
|
||||
|
||||
if (!band.UpperLimit.HasValue || annualSalary <= band.UpperLimit.Value)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return taxPaid;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user