app/helpers/works_helper.rb
# Returns true or false to determine whether the work notes module should display
Returns true or false to determine whether the work notes module should display
Returns true or false to determine whether the work notes module should display
def show_work_notes?(work)
    work.notes.present? ||
    work.endnotes.present? ||
    work.recipients.present? ||
    work.challenge_claims.present? ||
    work.parent_work_relationships.present? ||
    work.approved_related_works.present?
  end
def show_work_notes? ( work ) work . notes . present? || work . endnotes . present? || work . recipients . present? || work . challenge_claims . present? || work . parent_work_relationships . present? || work . approved_related_works . present? end
Returns true or false to determine whether the work notes module should display
Returns true or false to determine whether the work notes module should display
work