beta build

This commit is contained in:
Jason Jordan
2026-06-17 23:23:36 -04:00
parent 5f04811c16
commit 5a90ea6e14
48 changed files with 674 additions and 54 deletions
+1
View File
@@ -3,6 +3,7 @@ module IdCard
belongs_to :setup, optional: true
has_many :plan_benefits, dependent: :destroy
accepts_nested_attributes_for :plan_benefits, allow_destroy: true, reject_if: :all_blank
has_many :members, class_name: 'Member', foreign_key: :id_card_plan_id
validates :title, presence: true
validates :pb_product_key, :pl_plan_key, presence: true, if: -> { setup&.active }