Transaction ReturnTicketVoucher
Authentication mode: Checked (known user, must have the privilege)
Database access mode: updating
Privileged users: return a ticket or voucher and deduct its price from the order it was in. This may fail if the ticket or voucher has already been used.
Inputs:
- barcode: astring
barcode of the ticket or voucher
Outputs:
- order: Order
the order that owned the returned object, in case this is called from the order window
Privileges
- ReturnPastTicket
Users with this privilege can return tickets for events in the past (if they have not been used yet). All others can only return tickets for events in the future.