Functional description
Difficulty level:
Booking variables
It is possible to include variables for a reservation in all types of templates.
The variables below are specially built-in for reservations.
Linked variables are also possible, i.e. Object variables.
Variable | Description | Example |
---|---|---|
{BOOKING_NUMBER} | Reservation number | 1641 |
{FROMDATE} | The starting date of the reservation, in accordance with standard date format | Friday 10 March 2013 |
{FROMTIME} | The start time of the reservation, in accordance with standard time format | 10:00 |
{TILLDATE} | The end date of the reservation, in accordance with standard date format | Friday 10 March 2013 |
{TILLTIME} | The end time of the reservation, in accordance with standard time format | 12:00 |
{NUMBER_OF_PLACES} | The number of places booked | 10 |
{PRICE} | The price | € 10,12 |
{PRICE_NO_OPT} | The price excluding options | € 9,25 |
{PAID} | The sum of the payments | € 25 |
{RES_PRICE_FEE} | The commission price | € 12,50 |
{CURRENCY} | The currency | EUR |
{RES_CUSTOMxx} | The custom fields | |
{REMARKS} | The remarks | Comments |
{HASHKEY} | The hashcode for access to the reservation. Is included in the accept link. | |
{ACCEPTLINK} | Link to accept the reservation. | http://demo.i-reserve.com/front.php?mod=confirmbooking&booking_id=12&hashkey=1234 |
{EDITBOOKLINK} | Link to edit the reservation | http://demo.i-reserve.com/front.php?mod=bookingedit&booking_id=12 |
{LOCATION_ID} | Location ID linked to the reservation | 12 |
{LOCATION} | Location linked to the reservation | Aula |
{LOCATION_DESC} | Location description, linked to the reservation. | Aula |
{SETUP_ID} | Room setup ID | |
{SETUP_DESC} | Room setup | |
{SETUP_LONG_DESC} | Room setup | |
{DATE_BOOKING} | Date on which the reservation was made, in accordance with Standard date format in Configuration | |
{TIME_BOOKING} | Time on which reservation was made, in accordance with Standard time format in Configuration | |
{ETICKET} | Only applies if the e-Ticket module is active. This variable is replaced by a QR code. | |
{MINUTES} | The number of minutes in a reserveration. This is a calculated value, where the fromtime is subtracted from the tilltime, rounded to minutes. |
60 |
{HOURS} | The number of hours in a reservation. This is a calculated value, where the fromtime is subtracted from the tilltime, rounded to hours. | 2 |
{DAYS} | The number of days in a reservation. This is a calculated value, where the fromtime is subtracted from the tilltime, rounded to days. | 7 |
{CREDITS} | The number of hours in a reservation. This is a calculated value, where the fromtime subtracted from the tilltime is rounded to hours and then multiplied by the number of particpants. |
16 |
{NUMBER_OF_DETAILS} | The number of manually added price rules | 1 |
{NUMBER_OF_OPTIONS} | The number of options for this reservation. | 3 |
{NUMBER_OF_PARTICIPANTS} | The number of participants | 2 |
{NUMBER_OF_PLAYERS} | The number of players | 2 |
{INTERNAL_REMARKS} | Internal comments | |
{ICALENDAR} | Adds an ICS file as an attachment to import the reservation into a calendar | |
{SCHEMA_EVENTRESERVATION} | Adds structured data to e-mail |