From 9c370b77a2a1ebf0b371e2fb6506c6e468eec0b2 Mon Sep 17 00:00:00 2001 From: DaniBitZesty <84323332+DaniBitZesty@users.noreply.github.com> Date: Wed, 1 Nov 2023 17:17:37 +0000 Subject: [PATCH] Add new nominee website column to local assessment csv report --- app/models/reports/local_assessment_report.rb | 4 ++++ app/models/reports/nomination.rb | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/models/reports/local_assessment_report.rb b/app/models/reports/local_assessment_report.rb index 5e1e46737..3cdc9b847 100644 --- a/app/models/reports/local_assessment_report.rb +++ b/app/models/reports/local_assessment_report.rb @@ -25,6 +25,10 @@ class Reports::LocalAssessmentReport < Reports::QavsBase label: "Group leader email", method: :group_leader_email, }, + { + label: "Group leader website", + method: :nominee_website, + }, { label: "Group address building", method: :group_address_building, diff --git a/app/models/reports/nomination.rb b/app/models/reports/nomination.rb index e04c16012..0ccb64e5a 100644 --- a/app/models/reports/nomination.rb +++ b/app/models/reports/nomination.rb @@ -53,6 +53,10 @@ def group_leader_email doc["nominee_leader_email"] end + def nominee_website + doc["nominee_website"] + end + def group_address_building doc["nominee_address_building"] end