Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: enable better export of foreign Registrant details for provision to Border Force #488

Open
KathyReid opened this issue Jan 24, 2016 · 0 comments

Comments

@KathyReid
Copy link
Contributor

User story

As the Speaker Liaison, I am in contact with Border Force - Department of Immigration. The proforma provided by the Department to ensure they're aware of foreign delegates to conferences requests the following format;
nsmail.xlsx
I would like ZooKeepr to provide an export in this format to make it easy to provide this information to Border Force, therefore saving hours of manual handling, and facilitating the provision of Visas.

Acceptance criteria

The following information is not held in ZooKeepr currently, yet is sought;

  • Country of passport
  • Passport number
  • Name on passport
  • Date of birth
  • First and middle names
  • Gender

This information is already held;

  • Country of residence
  • Invited by event organiser (can be inferred from role)
  • Registration fees paid

Moreover, fulfilling these requirements is likely to require discussion on what biodata is collected as mandatory for registration.

The controller in admin.py provides the following report;

  @authorize(h.auth.has_organiser_role)
    def rego_foreign(self):
        people = [ r.person for r in Registration.find_all() ]
        c.columns = ['Name', 'Country']
        c.data = []
        for person in people:
            if person.country != 'AUSTRALIA' and person.paid():
                row = [ "%s %s" % (person.firstname, person.lastname), person.country ]
                c.data.append(row)
        return table_response()

but exporting this as a table currently fails.

@KathyReid KathyReid changed the title Feature request: enable better export of foreign Registrant details for provisiont to Border Force Feature request: enable better export of foreign Registrant details for provision to Border Force Jan 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant