Code refactor done and export registration pdf with statuses like "Confirmed", "Cancelled", "All"