app/presenters/dbs_visibility.rb
def enhanced
    return :will     unless spent?
    return :will_not if youth_caution?
    return :will     if custodial_conviction?

    recency_rules_outcome || :maybe
  end
# Standard or enhanced check rules:
#
#   - Unspent cautions/convictions: will appear on standard or enhanced checks.
#   - Spent youth cautions: will not appear on standard or enhanced checks.
#   - Spent custodial convictions: will appear on standard or enhanced checks.
#   - Recency rules, refer to `#recency_rules_outcome` method.
#   - Any other combination: may appear on standard or enhanced checks.
#
Standard or enhanced check rules:
Unspent cautions/convictions: will appear on standard or enhanced checks.
Spent youth cautions: will not appear on standard or enhanced checks.
Spent custodial convictions: will appear on standard or enhanced checks.
Recency rules, refer to `#recency_rules_outcome` method.
Any other combination: may appear on standard or enhanced checks.
Standard or enhanced check rules : Unspent cautions / convictions : will appear on standard or enhanced checks . Spent youth cautions : will not appear on standard or enhanced checks . Spent custodial convictions : will appear on standard or enhanced checks . Recency rules refer to ` #recency_rules_outcome ` method . Any other combination : may appear on standard or enhanced checks .
def enhanced
    return :will     unless spent?
    return :will_not if youth_caution?
    return :will     if custodial_conviction?
    recency_rules_outcome || :maybe
  end
def enhanced return :will unless spent? return :will_not if youth_caution? return :will if custodial_conviction? recency_rules_outcome || :maybe end
Standard or enhanced check rules:
 Unspent cautions/convictions: will appear on standard or enhanced checks.
Standard or enhanced check rules : Unspent cautions / convictions : will appear on standard or enhanced checks .