app/presenters/waste_carriers_engine/certificate_presenter.rb
def complex_organisation_heading
      if upper_tier_partnership?
        I18n.t("#{LOCALES_KEY}.partners")
      else
        I18n.t("#{LOCALES_KEY}.business_name_if_applicable")
      end
    end
# The certificate displays headings on the left, and values from the
# registration on the right. Because this heading is dynamic based on the
# business type, we have a method for it in the presenter.
The certificate displays headings on the left, and values from the
registration on the right. Because this heading is dynamic based on the
business type, we have a method for it in the presenter.
The certificate displays headings on the left and values from the registration on the right . Because this heading is dynamic based on the business type we have a method for it in the presenter .
def complex_organisation_heading
      if upper_tier_partnership?
        I18n.t("#{LOCALES_KEY}.partners")
      else
        I18n.t("#{LOCALES_KEY}.business_name_if_applicable")
      end
    end
def complex_organisation_heading if upper_tier_partnership? I18n . t ( "#{LOCALES_KEY}.partners" ) else I18n . t ( "#{LOCALES_KEY}.business_name_if_applicable" ) end end
The certificate displays headings on the left, and values from the
registration on the right.
The certificate displays headings on the left and values from the registration on the right .