Skip to content

Commit

Permalink
Don't include activities in MERI plan reports #3423
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Jan 29, 2025
1 parent 9fcc824 commit ae84c37
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ class MeriPlanReportCommand implements Validateable{
}
else {
project = projectService.get(id, 'all')
if (project != null){
project.remove("sites")
}
}

Map model
Expand All @@ -64,6 +61,8 @@ class MeriPlanReportCommand implements Validateable{
model = [statusCode: HttpStatus.SC_NOT_FOUND, error:getErrors()]
}
else {
project.remove("sites")
project.remove('activities')
Map config = projectService.getProgramConfiguration(project)

project?.referenceDocument = content?.referenceDocument
Expand Down

0 comments on commit ae84c37

Please sign in to comment.