Skip to content

Commit

Permalink
[CPDLP-3935] variable rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mooktakim committed Jan 28, 2025
1 parent 0d34bfe commit e13eeff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/finance/ecf/statement_calculator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def voided_declarations

define_method "deductions_for_#{event_type}" do
output_calculator.band_letters.sum do |letter|
additions = output_calculator.banding_for(declaration_type).subtractions(letter)
subtractions = output_calculator.banding_for(declaration_type).subtractions(letter)
fee = output_calculator.fee_for_declaration(band_letter: letter, type: event_type)
additions * fee
subtractions * fee
end
end
end
Expand Down

0 comments on commit e13eeff

Please sign in to comment.