Skip to content

Commit

Permalink
Merge pull request #46 from EyeSeeTea/feature/add-facility-code
Browse files Browse the repository at this point in the history
Add facility code column to Prevalence Facility List
  • Loading branch information
MiquelAdell authored May 16, 2024
2 parents 3ab2ce9 + 925f702 commit 15c4f19
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/webapp/components/survey-list/table/SurveyListTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ export const SurveyListTable: React.FC<SurveyListTableProps> = ({
</TableCell>
)}

{surveyFormType === "PrevalenceFacilityLevelForm" && (
<TableCell>
<Typography variant="caption">
{i18n.t("Facility Code")}
</Typography>
</TableCell>
)}

{(surveyFormType === "PPSSurveyForm" ||
surveyFormType === "PrevalenceSurveyForm") && (
<>
Expand Down Expand Up @@ -268,6 +276,9 @@ export const SurveyListTable: React.FC<SurveyListTableProps> = ({
surveyFormType === "PPSCountryQuestionnaire") && (
<TableCell>{survey.assignedOrgUnit.name}</TableCell>
)}
{surveyFormType === "PrevalenceFacilityLevelForm" && (
<TableCell>{survey.id}</TableCell>
)}

{(surveyFormType === "PPSSurveyForm" ||
surveyFormType === "PrevalenceSurveyForm") && (
Expand Down

0 comments on commit 15c4f19

Please sign in to comment.