components/financial_assistance/app/domain/financial_assistance/operations/applications/transformers/application_to/cv3_application.rb
def eligible_incomes_for_mitc(applicant)
              assistance_year = applicant.application.assistance_year
              applicant.incomes.select do |inc|
                next inc unless assistance_year
                end_on = inc.end_on || Date.new(assistance_year).end_of_year
                income_date_range = (inc.start_on)..end_on
                date_ranges_overlap?(income_date_range, month_date_range(assistance_year))
              end
            end
# Incomes will be selected matching Mitc needs.
Incomes will be selected matching Mitc needs.
Incomes will be selected matching Mitc needs .
def eligible_incomes_for_mitc(applicant)
              assistance_year = applicant.application.assistance_year
              applicant.incomes.select do |inc|
                next inc unless assistance_year
                end_on = inc.end_on || Date.new(assistance_year).end_of_year
                income_date_range = (inc.start_on)..end_on
                date_ranges_overlap?(income_date_range, month_date_range(assistance_year))
              end
            end
def eligible_incomes_for_mitc ( applicant ) assistance_year = applicant . application . assistance_year applicant . incomes . select do | inc | next inc unless assistance_year end_on = inc . end_on || Date . new ( assistance_year ) . end_of_year income_date_range = ( inc . start_on ) .. end_on date_ranges_overlap? ( income_date_range , month_date_range ( assistance_year ) ) end end
Incomes will be selected matching Mitc needs.
Incomes will be selected matching Mitc needs .
applicant