app/models/hearing.rb
# This is part of CASEFLOW-1820 and is a -very- temporary dodge
# It allows us to have a hearing_day with request_type == 'T', but
# the hearings on that hearing_day give request type == 'V'. This is part
# of the ACs. This code should NOT be here past October 2021.
This is part of CASEFLOW-1820 and is a -very- temporary dodge
It allows us to have a hearing_day with request_type == 'T', but
the hearings on that hearing_day give request type == 'V'. This is part
of the ACs. This code should NOT be here past October 2021.
This is part of CASEFLOW - 1820 and is a - very - temporary dodge It allows us to have a hearing_day with request_type == ' T ' but the hearings on that hearing_day give request type == ' V ' . This is part of the ACs . This code should NOT be here past October 2021 .
def request_type
    return nil if !hearing_day
    return "V" if hearing_day.request_type == "T"
    hearing_day.request_type
  end
def request_type return nil if ! hearing_day return "V" if hearing_day . request_type == "T" hearing_day . request_type end
This is part of CASEFLOW-1820 and is a -very- temporary dodge
It allows us to have a hearing_day with request_type == 'T', but
the hearings on that hearing_day give request type == 'V'.
This is part of CASEFLOW - 1820 and is a - very - temporary dodge It allows us to have a hearing_day with request_type == ' T ' but the hearings on that hearing_day give request type == ' V ' .