There are cases where MERIT site data is poor quality or insufficient to correctly determine the project's primary electorate and state.
Additionally, newly loaded projects do not have any site data associated with them which makes it difficult to do some kinds of reporting for those projects.
For this situation, we need to allow the user to be able to manually specify this data, and also override the algorithm that determines the primary/other states/electorates.
The changes needed are:
Add a menu item to the Project Admin tab that allows the user to specify the primary and other electorates and states. There should also be a checkbox to specify that this information should override the algorithmic assignment of these fields. This menu item should only be available to FC_ADMINS. It should display/save the data to the same location as the project load routine (geographicInfo). The available sites/electorates should be selectable via a searchable dropdown menu (select2)
Include the override flag in the project and electorate coord downloads
Modify the algorithm for the coord download to select the primary and other electorates from the manually supplied information if the override flag is set, otherwise use the existing algorithm. Leave both sets of columns (the geographic info and the MERIT assignment) on the project download so it's available for comparison/testing in the future.
Add fields to the header of the project page that displays this information. Include help text with a suitable explanation for what it means (to be provided). This field should be visible to everyone.
See: https://support.ehelp.edu.au/a/tickets/213046
There are cases where MERIT site data is poor quality or insufficient to correctly determine the project's primary electorate and state. Additionally, newly loaded projects do not have any site data associated with them which makes it difficult to do some kinds of reporting for those projects.
For this situation, we need to allow the user to be able to manually specify this data, and also override the algorithm that determines the primary/other states/electorates.
The changes needed are: