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

Documents: allow documents to be generated from within the registration details #6212

Open
pferreir opened this issue Mar 1, 2024 · 4 comments · May be fixed by #6306
Open

Documents: allow documents to be generated from within the registration details #6212

pferreir opened this issue Mar 1, 2024 · 4 comments · May be fixed by #6306

Comments

@pferreir
Copy link
Member

pferreir commented Mar 1, 2024

The "Documents" feature is super useful, but in order to print a receipt for a single person I still have to fish them from the list, tick them and looks for the right button:

image

It would be much easier if we had a button like "Get Ticket" here:

image

@hitenvidhani
Copy link

Hey @pferreir !
Can I work on this issue?

@ThiefMaster
Copy link
Member

You do not need to ask for permission to work on an issue. If you think you can contribute this, please simply go ahead.

@ThiefMaster
Copy link
Member

ThiefMaster commented Apr 15, 2024

Here's some useful context from our internal chat around that topic which you may find useful:

it's almost a one-liner
i just tested and calling printReceipts({registration_id: [123456], event_id: 5432}) worked in my test event to open the dialog
the only "missing" part is that it does not reload the page afterwards to make the section with the available documents show up in the registration

Note: This is the kind of change that MUST be tested locally before you send a PR. See our documentation on how to install a dev version of Indico.

@hitenvidhani
Copy link

Alright, thanks @ThiefMaster .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants