From 9e8fe82782acc21edd7bf59a29f6d3eda80e2f92 Mon Sep 17 00:00:00 2001 From: moveson Date: Thu, 19 Dec 2024 13:17:40 -0700 Subject: [PATCH] Update madmin resource for entrant service detail --- .../resources/lotteries/entrant_service_detail_resource.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/madmin/resources/lotteries/entrant_service_detail_resource.rb b/app/madmin/resources/lotteries/entrant_service_detail_resource.rb index 516341255..99368e962 100644 --- a/app/madmin/resources/lotteries/entrant_service_detail_resource.rb +++ b/app/madmin/resources/lotteries/entrant_service_detail_resource.rb @@ -7,10 +7,11 @@ class Lotteries::EntrantServiceDetailResource < Madmin::Resource attribute :form_rejected_comments attribute :created_at, form: false attribute :updated_at, form: false - attribute :completed_form, index: false + attribute :completed_date # Associations attribute :entrant + attribute :completed_form, index: false # Uncomment this to customize the display name of records in the admin area. # def self.display_name(record)