Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress Report - Centers #427

Open
10 tasks
lincmba opened this issue Oct 6, 2023 · 0 comments
Open
10 tasks

Progress Report - Centers #427

lincmba opened this issue Oct 6, 2023 · 0 comments
Assignees

Comments

@lincmba
Copy link
Contributor

lincmba commented Oct 6, 2023

The primary goal of the Progress Report feature is to produce a tabular report that presents a comparison between the number of processed forms and the total expected forms, categorized by sub-race type within distinct administrative areas. This report is has been generated for the following levels: Regions, Offices, Constituencies and Sub-Constituencies. In this particular issue, the focus is on generating a Progress Report for Centers.

Implementation

  • Create a in the CentersReportView in the progress_by_sub_races_reports.py file similar to this RegionsReportView but addressing Centers data instead
  • Add html_table_centers_columns and html_table_centers_columns lists in the progress_report in the progress_by_sub_races_reports.py file and update them with the relevant data through the function.
  • Add centers_progress_report_url in the context variable of the above function.
  • Add the above url in the urls.py file, that utilizes the CentersReportView
  • Create the tab by adding a <li> tag in the home.html file
  • Update the progress_report_by_admin_area.html to render the centers data correctly

Acceptance Criteria

  • The progress report table is generated accurately based on the selected administrative area tab.
  • The progress report table includes the specified columns.
  • The progress report can be exported and printed as a CSV.
  • There is a totals row with an aggregate of the columns data
@lincmba lincmba self-assigned this Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant