Functional description
Difficulty level:

A booking can contain additional sub-bookings (extra bookings attached to a main booking). You show these with the additionaldetail array inside a loop <!-- BEGIN additionaldetail --> … <!-- END additionaldetail -->. The steering variable {S_ADDITIONALDETAIL} indicates whether the table is filled.

VariableDescriptionExample
{additionaldetail.BOOKING_NUMBER}Booking number of the sub-booking1642
{additionaldetail.PROD_DESC}Product name of the sub-booking (also as OBJ_DESC)Rondvaart
{additionaldetail.FROMDATE}Start dateZaterdag 1 januari 2000
{additionaldetail.FROMTIME}Start time10:00
{additionaldetail.TILLDATE}End dateZaterdag 1 januari 2000
{additionaldetail.TILLTIME}End time12:00
{additionaldetail.NUMBER_OF_PLACES}Number of booked places4
{additionaldetail.NUMBER_OF_PARTICIPANTS}Number of participants4
{additionaldetail.PRICE}Price of the sub-booking120,00
{additionaldetail.PAID}Amount paid120,00
{additionaldetail.CURRENCY}CurrencyEUR
{additionaldetail.REMARKS}Customer remarkGraag bij het raam
{additionaldetail.OBJ_CITY}City of the objectAmsterdam

Example: a table with one row per sub-booking.

<table align="center" border="1" cellpadding="0" cellspacing="1" style="width:100%">
   <tbody>
      <tr>
         <td>Product</td>
         <td>Datum</td>
         <td>Tijd</td>
         <td>Prijs</td>
      </tr>
      <!-- BEGIN additionaldetail -->
      <tr>
         <td>{additionaldetail.PROD_DESC}</td>
         <td>{additionaldetail.FROMDATE}</td>
         <td>{additionaldetail.FROMTIME}</td>
         <td>{additionaldetail.PRICE}</td>
      </tr>
      <!-- END additionaldetail -->
   </tbody>
</table>

Above are the most commonly used fields. Each sub-booking is a full booking: all reservation and object variables are available with the prefix additionaldetail.. For the full list see Reservation variables + Object variables.