Class: Edi990LoadTenderResponses

Inherits:
ApplicationRecord show all
Includes:
Edi990LoadTenderResponsesProcedures
Defined in:
app/models/edi_990_load_tender_responses.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

define_decrypted_attribute, define_decrypted_attributes, #errors_in_bullet_points, primary_connection, special_connection

Instance Method Details

#status_descriptionObject



7
8
9
10
11
12
13
14
15
# File 'app/models/edi_990_load_tender_responses.rb', line 7

def status_description
  type_master = TypesMaster.where(
    element: 'EDI STATUS',
    type: status,
    active: 1
  ).first

  type_master&.type_description
end