{runquery 1}{runquery 2}{runquery 3}{runquery 4}
{dif '{field 1.realYresXcmsId}'<>'{field 1.realGuestXcmsId}'} {dif '{field 1.realGuestXcmsId}'=''} {field 1.guest_name}
{/dif} {else} {field 1.guest_name}
{/else} {/dif} {field 1.resGuestName} {dif '{field 1.VIP_SHORTDESC}'=''}{/dif}{else} ({translatestatictext 'VIP'.{const language}} {field 1.VIP_SHORTDESC}){/else}
{dif {field 1.YRES_HASSHARE.0}=0}{/dif}{else}
- {translatestatictext 'Sharer'.{const language}} {dif {field 1.YRES_SHARETYPE.0}=1}{translatestatictext '(Master)'.{const language}}{/dif}{dif {field 1.YRES_SHARETYPE.0}=2}{translatestatictext '(Slave)'.{const language}}{/dif}
{/else} {dif {field 1.HAS_MULTIGUEST.0}=0}{/dif}{else}
- {translatestatictext 'Multi Guest'.{const language}}
{/else} {dif (({field 1.YRES_HASSHARE.0}=0) and ({field 1.HAS_MULTIGUEST.0}=0) and ({field 1.YPRT_ID.0}=0) and ({field 1.group_id.0}=0))}{/dif}{else}
{/else} {dif {field 1.YPRT_ID.0}=0}{/dif}{else}
- {translatestatictext 'Party'.{const language}}
  {field 1.YPRT_LONGDESC}
{/else} {dif {field 1.group_id.0}=0}{/dif}{else}
- {translatestatictext 'Group'.{const language}}
  {field 1.ydet_group_name}
{/else} {dif (({field 1.YPRT_ID.0}=0) and ({field 1.group_id.0}=0) and ('{field 1.company_name}'='') and ('{field 1.travelagent_name}'='') and ('{field 1.source_name}'=''))}{/dif}{else}
{/else} {dif '{field 1.company_name}'=''}{/dif}{else}
- {translatestatictext 'Company'.{const language}}
  {field 1.company_name}
{/else} {dif '{field 1.travelagent_name}'=''}{/dif}{else}
- {translatestatictext 'Travel Agent'.{const language}}
  {field 1.travelagent_name}
{/else} {dif '{field 1.source_name}'=''}{/dif}{else}
- {translatestatictext 'Source'.{const language}}
  {field 1.source_name}
{/else} {dif (('{field 1.company_name}'='') and ('{field 1.travelagent_name}'='') and ('{field 1.source_name}'=''))}{/dif}{else}
{/else}
- {translatestatictext 'Res. No.'.{const language}}
  {field 1.yres_id}
- {translatestatictext 'Arrival'.{const language}}
  {field 1.yres_exparrtime}
- {translatestatictext 'Departure'.{const language}}
  {field 1.yres_expdeptime}
- {translatestatictext 'Roomtype'.{const language}}
  {field 1.ycat_Shortdesc}
{dif {field 1.expmove.0}=1}
- {translatestatictext 'Room Move'.{const language}}
  {field 1.move_from} -> {field 1.yrms_shortdesc}
{/dif}{else}
- {translatestatictext 'Room'.{const language}}
  {field 1.yrms_shortdesc}
{/else}
- {translatestatictext 'Adults'.{const language}}
  {field 1.ydet_adultno}
- {translatestatictext 'Kids'.{const language}}
  {field 1.TotalKids}
- {translatestatictext 'Rate Code'.{const language}}
  {field 1.yrch_shortdesc}
- {translatestatictext 'Rate'.{const language}}
  {field 1.format_calc_price} {field 4.currency} {dif '{field 1.CURRENCY}'='{field 4.currency}'} {/dif} {else} / {field 1.Price} {field 1.currency} {/else}
{dif (('{field 1.yres_freetext1}'='') and ('{field 1.yres_freetext2}'='') and ({field 2.LOCATOR.0}<>1) and ({field 2.TRACE.0}<>2) and ('{field 3.DELIVEREDDAY}'=''))}{/dif}{else}
{/else} {dif '{field 1.yres_freetext1}'=''}{/dif}{else}
- {translatestatictext 'Billing Info'.{const language}}
  {field 1.yres_freetext1}
{/else} {dif '{field 1.yres_freetext2}'=''}{/dif}{else}
- {translatestatictext 'Remarks'.{const language}}
  {field 1.yres_freetext2}
{/else} {dif (({field 2.LOCATOR.0}<>1) and ({field 2.TRACE.0}<>2) and ('{field 3.DELIVEREDDAY}'=''))}{/dif}{else}
- {translatestatictext 'Indicators'.{const language}}
  {dif {field 2.LOCATOR.0}=1}{translatestatictext 'Locator'.{const language}} {/dif} {dif {field 2.TRACE.0}=2}{translatestatictext 'Trace'.{const language}} {/dif} {dif '{field 3.DELIVEREDDAY}'<>''} {translatestatictext 'Message'.{const language}} {/dif}
{/else} {dif '{field 1.image}'=''}{/dif}{else}
- {translatestatictext 'Picture'.{const language}}
{/else}