indico
indico copied to clipboard
Documents: allow documents to be generated from within the registration details
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:
It would be much easier if we had a button like "Get Ticket" here:
Hey @pferreir ! Can I work on this issue?
You do not need to ask for permission to work on an issue. If you think you can contribute this, please simply go ahead.
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.
Alright, thanks @ThiefMaster .