{runquery 1}{runsubquery 2.1.ybom_id} {runsubquery 3.1.ybom_id} {runsubquery 4.1.ybom_id} {runsubquery 5.1.ybom_id} {runsubquery 6.1.ybom_id}
{field 1.ybom_name}
- {translatestatictext 'Booking Name'.{const language}}
  {field 1.ybom_name} (ID {field 1.ybom_id})
- {dif {field 1.ybom_cateringonly}=1}{translatestatictext 'Conference only'.{const language}} {/dif}{dif {field 1.ybom_cateringonly}=2}{translatestatictext 'Rooms'.{const language}} only {/dif}{dif {field 1.ybom_cateringonly}=0}{translatestatictext 'Rooms'.{const language}} & {translatestatictext 'Conference'.{const language}} {/dif}
- {translatestatictext 'Booking Dates'.{const language}}
  {field 1.ybom_arrival} - {field 1.ybom_departure}
- {translatestatictext 'Company Name'.{const language}}
  {field 1.xcms_name1}{field 1.xcms_name2} {field 1.xcms_name3}
{dif '{field 2.XName}'=''}{/dif}{else}
- {translatestatictext 'Contact Name'.{const language}}
  {field 2.Xname}
{/else}
- {translatestatictext 'Contact on site'.{const language}}
  {field 1.ybom_contactonsite}
- {translatestatictext 'Status'.{const language}}
  {translatestatictext 'Pax'.{const language}}
  {translatestatictext 'Decision Date'.{const language}}
  {translatestatictext 'Follow up Date'.{const language}}
  {translatestatictext 'Cutoff Date'.{const language}}
  {translatestatictext 'Roominglist Date'.{const language}}
- {translatestatictext 'Conference'.{const language}}
  {field 1.rms}
  {field 1.ybom_noofattendees}
  {dif '{field 1.ybom_catdecisiondate}' = ''} {/dif} {else} {field 1.ybom_catdecisiondate} {/else}
  {dif '{field 1.ybom_catfollowupdate}' = ''} {/dif} {else} {field 1.ybom_catfollowupdate} {/else}
  {dif '{field 1.ybom_catcutoffdate}' = ''} {/dif} {else} {field 1.ybom_catcutoffdate} {/else}
{dif {field 1.ybom_cateringonly.0}=1}{/dif}{else}
- {translatestatictext 'Rooms'.{const language}}
  {field 1.conf}
  {dif '{field 1.ybom_rmsdecisiondate}' = ''} {/dif} {else} {field 1.ybom_rmsdecisiondate} {/else}
  {dif '{field 1.ybom_rmsfollowupdate}' = ''} {/dif} {else} {field 1.ybom_rmsfollowupdate} {/else}
  {dif '{field 3.yblh_cutoffdate}' = ''} {/dif} {else} {field 3.yblh_cutoffdate} {/else}
  {dif '{field 3.yblh_roominglistdate}' = ''} {/dif} {else} {field 3.yblh_roominglistdate} {/else}
{/else} {dif {field 3.yblh_ybom_id.0}=0}{/dif}{else}
- {translatestatictext 'Block Name/Status'.{const language}}
  {field 3.yblh_shortdesc}
  {field 3.ybst_longdesc}
- {translatestatictext 'Rate Code'.{const language}}
  {dif '{field 3.yrch_Shortdesc}'=''}{/dif}{else}{field 3.yrch_longdesc} ({field 3.yrch_shortdesc}){/else}
{/else} {dif '{field 4.ygrp_name}'=''}{/dif}{else}
- {translatestatictext 'Group Name'.{const language}}
  {dif '{field 4.ygrp_name}'=''} {/dif}{else}{field 4.ygrp_name} {/else}
- {translatestatictext 'Rate Code'.{const language}}
  {dif '{field 4.yrch_Shortdesc}'=''}{/dif}{else}{field 4.yrch_longdesc} ({field 4.yrch_shortdesc}){/else}
- {translatestatictext 'Actual Rooms'.{const language}}
  {forall 6}
  {dif {field 6.YDET_NOOFROOMS.0}=0}{/dif}{else}{field 6.YDET_DATE}{/else}
  {dif {field 6.YDET_NOOFROOMS.0}=0}{/dif}{else}{field 6.YDET_NOOFROOMS}{/else}
  {dif {field 6.YDET_NOOFROOMS.0}=0}{/dif}{else}{field 6.YCAT_LONGDESC}{/else}
  {/forall}
{/else} {dif '{field 5.yevm_name}'=''}{/dif}{else}
- {translatestatictext 'Events'.{const language}}
  {translatestatictext 'Start/End Time'.{const language}}
  {translatestatictext 'Event Name'.{const language}}
  {translatestatictext 'Status'.{const language}}
  {translatestatictext 'Function Space'.{const language}}
  {translatestatictext 'Seating'.{const language}}
{forall 5}
- {fshortdatetime}{field 5.yevm_starttime}{/fshortdatetime} - {fshorttime}{field 5.yevm_endtime}{/fshorttime}
  {field 5.yevm_name}
  {field 5.yest_shortdesc}
  {field 5.yfsc_longdesc}
  {field 5.yssc_longdesc}
{/forall} {/else}