Skip to content

Commit

Permalink
Merge pull request #822 from dinukadesilva/fix-number-formats-in-pe-c…
Browse files Browse the repository at this point in the history
…e-ro-pr-3

Fix the number formats in PE-CE-RO-PR-3
  • Loading branch information
dinukadesilva authored Aug 20, 2020
2 parents 1a5758c + a4db7e1 commit 16edc14
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from ext.ExtendedTallySheet import ExtendedTallySheetReport
from orm.entities import Area
from orm.enums import AreaTypeEnum
from util import to_comma_seperated_num


class ExtendedTallySheet_PE_CE_RO_PR_3(ExtendedTallySheetReport):
Expand Down Expand Up @@ -43,7 +44,7 @@ def html(self, title="", total_registered_voters=None):
candidate_id = candidate_wise_valid_vote_count_result.at[index_1, "candidateId"]
candidate_number = candidate_wise_valid_vote_count_result.at[index_1, "candidateNumber"]
candidate_name = candidate_wise_valid_vote_count_result.at[index_1, "candidateName"]
num_value = candidate_wise_valid_vote_count_result.at[index_1, "numValue"]
num_value = to_comma_seperated_num(candidate_wise_valid_vote_count_result.at[index_1, "numValue"])

data_row.append(position_of_candidate)
data_row.append("%s - %s" % (candidate_number, candidate_name))
Expand Down

0 comments on commit 16edc14

Please sign in to comment.