Open pld opened 5 years ago
Note that I don't know why these are separate, this is how it was defined in the original data model proposed by UNDP and we went with it.
@mrajayp can we go ahead and combine the ballots and sub-cons by removing the sub-cons?
Looking at the code a bit more, sub-cons do the work of grouping multiple ballots together, so that's a good reason to keep them.
It also looks like we'd want to solve the component to ballot issue before talking this, i.e. no longer hard-code the mapping from components to ballots.
It makes so do a decent refactor as we work in this issue, can we remove this from priority 1 to make time for that?
Currently when you create a new ballot it is not visible in the system because ballots always need to be attached to a sub-con.
Some options: