components/financial_assistance/app/models/financial_assistance/application.rb
# rubocop:disable Metrics/ClassLength TODO: Remove this
disable Metrics/ClassLength TODO: Remove this
disable Metrics / ClassLength TODO : Remove this
def calculate_renewal_base_year
      ass_year = assistance_year.present? ? assistance_year : TimeKeeper.date_of_record.year
      if is_renewal_authorized.present?
        ass_year + YEARS_TO_RENEW_RANGE.max
      elsif is_renewal_authorized.is_a?(FalseClass)
        ass_year + (years_to_renew || 0)
      end
    end
def calculate_renewal_base_year ass_year = assistance_year . present? ? assistance_year : TimeKeeper . date_of_record . year if is_renewal_authorized . present? ass_year + YEARS_TO_RENEW_RANGE . max elsif is_renewal_authorized . is_a? ( FalseClass ) ass_year + ( years_to_renew || 0 ) end end
rubocop:disable Metrics/ClassLength TODO: Remove this
rubocop : disable Metrics / ClassLength TODO : Remove this