Skip to content

Commit

Permalink
Update trigger description
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMwashuma committed Nov 5, 2024
1 parent 3f2a76c commit 715c172
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tally_ho/libs/verify/quarantine_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ def pass_registrants_trigger(result_form):
this will always return True.
Fails if the summation of recon fields number_cancelled_ballots and
number_ballots_inside_box exceeds the number of potential voters minus
the number of registrants plus N persons to accomodate staff and security.
number_ballots_inside_box exceeds the number of potential voters which is
the number of registered voters at the station plus N persons to
accommodate staff and security.
:param result_form: The result form to check.
:returns: A boolean of true if passed, otherwise false.
Expand Down
4 changes: 3 additions & 1 deletion tally_ho/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@
'description':
str('Summation of the number of cancelled ballots and '
'the number of ballots inside the box must be less than or equal to '
'the number of registered voters at the station.'),
'the number of potential voters which is the number of registered '
'voters at the station plus N persons to accommodate staff and '
'security.'),
'method': 'pass_registrants_trigger',
'active': True,
'value': 0,
Expand Down

0 comments on commit 715c172

Please sign in to comment.