Class: EdiInvoice

Inherits:
ApplicationRecord show all
Includes:
EdiInvoiceProcedures
Defined in:
app/models/edi_invoice.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

#type_descriptionObject



11
12
13
# File 'app/models/edi_invoice.rb', line 11

def type_description
  I18n.locale == :fr ? status_description_french : attributes['status_description_english']
end