{runquery 1} {runquery 4} {runquery 5}
{dif {field 4.NrEvents}>1}
- {translatestatictext 'Total Groups'.{const language}}
  {translatestatictext 'Booked Seats'.{const language}}
  {translatestatictext 'Total Seats'.{const language}}
- {field 5.TotalGroups}
  {field 5.BookedSeats}
  {field 5.TotalSeats}
{/dif} {dif '{field 1.yfsc_longdesc}'=''}{/dif} {else}
- {translatestatictext 'Room'.{const language}}
  {field 1.yfsc_longdesc}
{/else}
{forall 1} {runsubquery 2.1.yevm_id} {runsubquery 3.1.yevm_id}
- {translatestatictext 'Book. ID'.{const language}}
  {field 2.ybom_id}
- {translatestatictext 'Profile'.{const language}}
  {field 2.name2}
- {translatestatictext 'Event'.{const language}}
  {field 2.yevm_name}
- {translatestatictext 'Start'.{const language}}
  {fshortdatetime}{field 2.startdate}{/fshortdatetime}
- {translatestatictext 'End'.{const language}}
  {fshortdatetime}{field 2.enddate}{/fshortdatetime}
- {translatestatictext 'Status'.{const language}}
  {field 2.yest_longdesc}
- {translatestatictext 'Att.'.{const language}}
  {field 2.yevm_noofattendees}
{dif '{field 3.yssc_longdesc}'=''}{/dif} {else}
- {translatestatictext 'Seating'.{const language}}
  {field 3.yssc_longdesc}
{/else} {dif '{field 3.rate}'=''}{/dif} {else}
- {translatestatictext 'Rate'.{const language}}
  {field 2.ZCUR_SHORTDESC}{field 3.rate}
{/else} {dif '{field 2.mini}'=''}{/dif}{else}
- {translatestatictext 'Guarantee'.{const language}}
  {field 2.mini}
{/else} {dif '{field 2.yevm_doorcard}'=''}{/dif} {else}
- {translatestatictext 'Infob.'.{const language}}
  {field 2.yevm_doorcard}
{/else} {dif {field 4.NrEvents}>1}
{/dif} {/forall}