Right: action_booking_redeem_voucher
Redeem a gift voucher on an existing booking.
| Attribute | Value |
|---|---|
| Exact name | action_booking_redeem_voucher |
| Type | Action |
| Category | action_booking |
| Appears on | Booking: action block and simple view (under More) |
| Default in groups | Admin, Demo, Employee |
Description
With this right the user may redeem one or more gift vouchers on a booking that already exists, with the Redeem gift voucher button. Useful when a customer books by phone first and only then passes on their gift voucher: the booking does not have to be made again.
Every code entered is checked as for a new booking, and the user sees the amount per voucher and the new open amount beforehand. Only after Process are the valid vouchers applied: a voucher with an amount as a payment with payment method gift voucher, a percentage voucher as a price reduction. Never more than the open amount is applied.
The button only appears when the gift voucher module is active and an amount is open. The right to change the booking is also required. Without this right the button is not visible and the action is refused when called any other way.
Related
This right was added in IRES-14533. On upgrade every group with action_booking_setpaid gets this right automatically: whoever may register a payment may also have it paid by gift voucher. To restrict redeeming separately, remove the right from those groups after the upgrade.
Related instruction
This right is used in: How do I redeem a gift voucher on an existing booking?.


