Skip to content

Commit

Permalink
[CPDLP-3935] variable rename
Browse files Browse the repository at this point in the history
mooktakim committed Jan 29, 2025
1 parent ea59ce5 commit f338d94
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
@@ -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

0 comments on commit f338d94

Please sign in to comment.