{runquery 1}{runsubquery 2.1.xcms_id} {runsubquery 3.1.xcms_id} {runsubquery 4.1.xcms_id}{runquery 5} {runsubquery 6.1.xcms_id}{runsubquery 7.1.xcms_id} {runsubquery 8.1.xcms_id}{runsubquery 9.1.xcms_id} {runsubquery 10.1.xcms_id} {runsubquery 11.1.xcms_id} {runsubquery 12.1.xcms_id} {runsubquery 13.1.xcms_id} {runsubquery 14.1.xcms_id}{runsubquery 15.1.xcms_id} {runsubquery 17.1.xcms_id} {runsubquery 18.1.xcms_id} {runsubquery 27.1.xcms_id}{runsubquery 19.1.xcms_id} {runsubquery 20.1.xcms_id} {runsubquery 21.1.xcms_id} {runsubquery 22.1.xcms_id} {runquery 23} {runsubquery 24.1.xcms_id} {runsubquery 25.1.xcms_id}{runsubquery 26.1.xcms_id}
{translatestatictext 'Reservations'.{const language}} {field 1.xcms_name1}, {field 1.xcms_name3}
{dif ('{field 4.YRES_EXPARRTIME.0}'='0')}{/dif} {else}
{translatestatictext 'Reservation History'.{const language}}
- {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'Nights'.{const language}}
  {translatestatictext 'Room'.{const language}}
  {dif '{field 4.CURRENCY}'='{field 23.currency}'}{translatestatictext 'Rate'.{const language}}{/dif}{else}{translatestatictext 'Local Rate'.{const language}}{/else}
  {dif '{field 4.CURRENCY}'='{field 23.currency}'}{/dif}{else}
  {translatestatictext 'Foreign Rate'.{const language}}
  {/else}
{forall 4}
- {dif ('{field 4.YRES_EXPARRTIME.0}'='0')} {/dif}{else} {/else}
  {dif ('{field 4.YRES_EXPARRTIME.0}'='0')} {/dif}{else}{field 4.YRES_EXPARRTIME}{/else}
  {dif ('{field 4.YRES_EXPDEPTIME.0}'='0')} {/dif}{else}{field 4.YRES_EXPDEPTIME}{/else}
  {dif ({field 4.NIGHTS.0}=0)}0{/dif}{else}{field 4.NIGHTS}{/else}
  {dif ('{field 4.yrms_shortdesc}'='')} {/dif}{else}{field 4.yrms_shortdesc} {/else}
  {field 4.localrateamount} {field 23.currency}
  {dif '{field 4.CURRENCY}'='{field 23.currency}'}{/dif}{else}
  {field 4.foreignrateamount} {field 4.currency}
  {/else}
{/forall} {/else} {dif ('{field 13.YRES_EXPARRTIME.0}'='0')}{/dif} {else}
{translatestatictext 'Cancellations'.{const language}}
- {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'Nights'.{const language}}
  {translatestatictext 'Room'.{const language}}
  {dif '{field 13.CURRENCY}'='{field 23.currency}'}{translatestatictext 'Rate'.{const language}}{/dif}{else}{translatestatictext 'Local Rate'.{const language}}{/else}
  {dif '{field 13.CURRENCY}'='{field 23.currency}'}{/dif}{else}
  {translatestatictext 'Foreign Rate'.{const language}}
  {/else}
{forall 13}
- {dif ('{field 13.YRES_EXPARRTIME.0}'='0')} {/dif}{else} {/else}
  {dif ('{field 13.YRES_EXPARRTIME.0}'='0')} {/dif}{else}{field 13.YRES_EXPARRTIME}{/else}
  {dif ('{field 13.YRES_EXPDEPTIME.0}'='0')} {/dif}{else}{field 13.YRES_EXPDEPTIME}{/else}
  {dif ({field 13.NIGHTS.0}=0)}0{/dif}{else}{field 13.NIGHTS}{/else}
  {dif ('{field 13.yrms_shortdesc}'='')} {/dif}{else}{field 13.yrms_shortdesc} {/else}
  {field 13.localrateamount} {field 23.currency}
  {dif '{field 13.CURRENCY}'='{field 23.currency}'}{/dif}{else}
  {field 13.foreignrateamount} {field 13.currency}
  {/else}
{/forall} {/else} {dif ('{field 14.YRES_EXPARRTIME.0}'='0')}{/dif} {else}
{translatestatictext 'No Shows'.{const language}}
- {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'Nights'.{const language}}
  {translatestatictext 'Room'.{const language}}
  {dif '{field 14.CURRENCY}'='{field 23.currency}'}{translatestatictext 'Rate'.{const language}}{/dif}{else}{translatestatictext 'Local Rate'.{const language}}{/else}
  {dif '{field 14.CURRENCY}'='{field 23.currency}'}{/dif}{else}
  {translatestatictext 'Foreign Rate'.{const language}}
  {/else}
{forall 14}
- {dif ('{field 14.YRES_EXPARRTIME.0}'='0')} {/dif}{else} {/else}
  {dif ('{field 14.YRES_EXPARRTIME.0}'='0')} {/dif}{else}{field 14.YRES_EXPARRTIME}{/else}
  {dif ('{field 14.YRES_EXPDEPTIME.0}'='0')} {/dif}{else}{field 14.YRES_EXPDEPTIME}{/else}
  {dif ({field 14.NIGHTS.0}=0)}0{/dif}{else}{field 14.NIGHTS}{/else}
  {dif ('{field 14.yrms_shortdesc}'='')} {/dif}{else}{field 14.yrms_shortdesc} {/else}
  {field 14.localrateamount} {field 23.currency}
  {dif '{field 14.CURRENCY}'='{field 23.currency}'}{/dif}{else}
  {field 14.foreignrateamount} {field 14.currency}
  {/else}
{/forall} {/else} {dif ('{field 5.YRES_EXPARRTIME.0}'='0')}{/dif} {else}
{translatestatictext 'Next Reservations'.{const language}}
- {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'Nights'.{const language}}
  {translatestatictext 'Room'.{const language}}
  {dif '{field 5.CURRENCY}'='{field 23.currency}'}{translatestatictext 'Rate'.{const language}}{/dif}{else}{translatestatictext 'Local Rate'.{const language}}{/else}
  {dif '{field 5.CURRENCY}'='{field 23.currency}'}{/dif}{else}
  {translatestatictext 'Foreign Rate'.{const language}}
  {/else}
{forall 5}
- {dif ('{field 5.YRES_EXPARRTIME.0}'='0')} {/dif}{else} {/else}
  {dif ('{field 5.YRES_EXPARRTIME.0}'='0')} {/dif}{else}{field 5.YRES_EXPARRTIME}{/else}
  {dif ('{field 5.YRES_EXPDEPTIME.0}'='0')} {/dif}{else}{field 5.YRES_EXPDEPTIME}{/else}
  {dif ({field 5.NIGHTS.0}=0)}0{/dif}{else}{field 5.NIGHTS}{/else}
  {dif ('{field 5.yrms_shortdesc}'='')} {/dif}{else}{field 5.yrms_shortdesc} {/else}
  {field 5.localrateamount} {field 23.currency}
  {dif '{field 5.CURRENCY}'='{field 23.currency}'}{/dif}{else}
  {field 5.foreignrateamount} {field 5.currency}
  {/else}
{/forall} {/else} {dif '{globalsetting ThisHotelIsMaster}'='1'} {runsubquery 16.1.xcms_id} {dif '{field 16.Arrivaldate.0}'='0'}{/dif}{else}
{translatestatictext 'Chain History'.{const language}}
- {translatestatictext 'Hotel'.{const language}}
  {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'Room'.{const language}}
  {translatestatictext 'Revenue'.{const language}}
{forall 16}
- {dif ('{field 16.Hotelname}'='')} {/dif}{else}{field 16.Hotelname}{/else}
  {dif ('{field 16.Arrivaldate.0}'='0')} {/dif}{else}{field 16.Arrivaldate} {/else}
  {dif ('{field 16.Departuredate.0}'='0')} {/dif}{else}{field 16.Departuredate}{/else}
  {dif ('{field 16.yrms_shortdesc}'='')} {/dif}{else}{field 16.yrms_shortdesc} {/else}
  {field 16.grsrev} {field 23.currency}
{/forall} {/else} {/dif}