Create pdf and power point button's on the form results page for exporting candidates results based on the filters applied.
Task check list
[x] Add a Results Export section on the form results template for exporting results in pdf and powerpoint formats. Inside this section create the following components:
[x] A select dropdown with a range of leading candidates to be exported. Ranges should be:
10, 25, 50, 100, 500.
[x] An Export to PDF button and Export to Powerpoint button.
[x] Create an on-click event listener on the buttons similar to this one that will be used to send an Ajax request for filtering the results by the specified range of leading candidate's and other filters that have been applied.
[x] The PDF/Powerpoint Export will consist of the following components:
[x] A page header and footer based on HNEC design.
[x] A report header section showing the filters applied before the export.
User story
Create pdf and power point button's on the form results page for exporting candidates results based on the filters applied.
Task check list
Export to PDF
button andExport to Powerpoint
button.Related to
https://github.com/onaio/tally-ho/issues/357