Skip to content

Commit

Permalink
Merge pull request #618 from bitzesty/add-website-column-to-local-ass…
Browse files Browse the repository at this point in the history
…essment-csv

Add new nominee website column to local assessment csv report
  • Loading branch information
DaniBitZesty authored Nov 2, 2023
2 parents 14b2828 + 9c370b7 commit 355dc12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/reports/local_assessment_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions app/models/reports/nomination.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 355dc12

Please sign in to comment.