Template: Voucher Redeemed
Template Variables
These variables are available in the Liquid template context. Access nested properties using dot notation (e.g., enrolment.activity.name).
voucher(type: voucher)
An issued voucher for a member or household.
| Property Path | Type | Description |
|---|---|---|
voucher.id | integer | Unique ID of the issued voucher. |
voucher.voucher_type | voucher_type | The voucher type definition. |
voucher.voucher_type.name | string | Name of the voucher type. |
voucher.voucher_type.description | string | Description of the voucher type. |
voucher.uses | integer | Total uses granted on this voucher. |
voucher.remaining_uses | integer | Remaining uses of this voucher. |
voucher.expires_at | datetime | UTC instant when the voucher expires. |
voucher.note | string | Plain text staff note on the voucher. |
activity(type: activity)
An object representing a class or program activity.
| Property Path | Type | Description |
|---|---|---|
activity.name | string | Name of the activity. |
activity.schedule_summary | string | A human-readable summary of the activity schedule. |
tenant(type: tenant)
An object representing an organisation/tenant.
| Property Path | Type | Description |
|---|---|---|
tenant.id | integer | Unique ID of the tenant. |
tenant.name | string | Name of the organisation. |