app/models/consumer_role.rb
def outstanding_verification_types
    verification_types.find_all do |type|
      type.is_type_outstanding?
    end
  end
#use this method to check what verification types needs to be included to the notices
use this method to check what verification types needs to be included to the notices
use this method to check what verification types needs to be included to the notices
def outstanding_verification_types
    verification_types.find_all do |type|
      type.is_type_outstanding?
    end
  end
def outstanding_verification_types verification_types . find_all do | type | type . is_type_outstanding? end end
use this method to check what verification types needs to be included to the notices
use this method to check what verification types needs to be included to the notices