Files
baclight/app/models/member.rb
T
2026-03-27 08:04:37 -04:00

18 lines
358 B
Ruby

class Member < ApplicationRecord
belongs_to :id_card_plan, class_name: 'IdCard::Plan', optional: true
belongs_to :employer
def id_card_field_exception_values
address = Vhcs::PbEntityAddress.find_by(pb_entity_key: self.pb_entity_key)
{
zipcode: address.zip,
state: address.state,
family_id: self.family_id
}
end
end