{runquery 1} {runquery 2} {runsubquery 7.1.yblh_id} {runquery 8}
{translatestatictext 'Extended Block Information'.{const language}}
- {translatestatictext 'Block Name'.{const language}}
  {field 1.yblh_longdesc}
  {field 1.yblh_startdate} to {field 1.yblh_enddate}
- {translatestatictext 'Block Status'.{const language}}
  {field 1.ybst_Longdesc}
- {translatestatictext 'Booker'.{const language}}
  {field 1.xcid_addrgreet} {field 1.xcms_name3} {field 1.xcms_name1}
- {translatestatictext 'Company'.{const language}}
  {field 2.CompanyName}{dif '{field 2.CompanyName}'=''}{/dif} {else} {/else}
- {translatestatictext 'Market Code'.{const language}}
  {field 1.xcma_Longdesc}
- {translatestatictext 'Reservation Status'.{const language}}
  {dif {field 1.ybst_resstatus}=0}{translatestatictext 'tentative'.{const language}} {/dif}{dif {field 1.ybst_resstatus}=1}{translatestatictext 'definite'.{const language}} {/dif}{dif {field 1.ybst_resstatus}=3} {translatestatictext 'not affecting availability'.{const language}} {/dif}
{dif {field 7.xcno_id.0}=0}{/dif}{else}
- {translatestatictext 'Notes'.{const language}}
  {forall 7}{field 7.xcno_notes}
  {/forall}
{/else}
- {translatestatictext 'Details'.{const language}}
- {translatestatictext 'RoomType'.{const language}}
  {translatestatictext 'Init'.{const language}}
  {translatestatictext 'Actual'.{const language}}
  {translatestatictext 'Pickup'.{const language}}
  {translatestatictext 'PAX'.{const language}}
  {translatestatictext 'Rate'.{const language}}
  {translatestatictext 'Exp.Revenue'.{const language}}
{runquery 3}{forall 3}
- {translatestatictext 'Block Details for'.{const language}} {field 3.ybld_date}
{runsubquery 4.3.date_key} {forall 4}
- {field 4.ycat_shortdesc}
  {field 4.INITIALNOOFROOMS}
  {field 4.ACTUALNOOFROOMS}
  {field 4.pickup}
  {field 4.ADULTS}
  {field 4.rate} {field 8.currency}
  {field 4.ExpRevenue} {field 8.currency}
{/forall}
- {translatestatictext 'Total'.{const language}}
  {field 3.ExpRevenue} {field 8.currency}
{/forall} {runquery 5} {ifnotempty 5.yres_id}
- {translatestatictext 'Picked up group reservations'.{const language}}
- {translatestatictext 'Group Name'.{const language}}
  {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'RoomType'.{const language}}
  {translatestatictext 'No of rooms'.{const language}}
  {translatestatictext 'PAX'.{const language}}
  {translatestatictext 'Name'.{const language}}
{forall 5}
- {field 5.GroupName}
  {field 5.YRES_EXPARRTIME}
  {field 5.YRES_EXPDEPTIME}
  {field 5.ycat_shortdesc}
  {field 5.YDET_NOOFROOMS}
  {field 5.YDET_ADULTNO}
  {field 5.XCMS_NAME1}, {field 5.XCMS_NAME3}
{/forall} {/ifnotempty} {runquery 6} {ifnotempty 6.yres_id}
- {translatestatictext 'Picked up Individual reservations'.{const language}}
- {translatestatictext 'Name'.{const language}}
  {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'RoomType'.{const language}}
  {translatestatictext 'No of rooms'.{const language}}
  {translatestatictext 'PAX'.{const language}}
{forall 6}
- {field 6.XCMS_NAME1}, {field 6.XCMS_NAME3}
  {field 6.YRES_EXPARRTIME}
  {field 6.YRES_EXPDEPTIME}
  {field 6.ycat_shortdesc}
  {field 6.YDET_NOOFROOMS}
  {field 6.YDET_ADULTNO}
{/forall} {/ifnotempty}