{runquery 1}{runsubquery 2.1.yres_id}{runsubquery 3.1.yres_xcms_id}{runsubquery 4.1.yres_id} {runsubquery 5.1.yres_id}{runsubquery 6.1.yres_xcms_id}{runsubquery 7.1.yres_xcms_id}{runsubquery 8.1.yres_id} {runsubquery 9.1.yres_id}{runsubquery 10.1.yres_id}{runsubquery 11.1.yres_id}{runsubquery 12.1.yres_id} {runsubquery 13.1.yres_id} {runsubquery 14.1.yres_xcms_id} {runquerywithparameter 15.parameter.{userid}}{runquery 16}

{dif {field 1.yres_noavailreason}=1}{translatestatictext 'Waitlist Reservation'.{const language}} {/dif}{else} {dif {field 1.yres_noavailreason}=2}{translatestatictext 'Reservation Offer'.{const language}} {/dif}{else} Reservation {/else}{/else}({field 1.yres_id}) for {field 1.xcms_name1} {field 1.xcms_name2}, {field 1.xcms_name3} {dif {field 1.yres_noavailreason}=4} | {translatestatictext 'NoShow'.{const language}} {/dif}{else}{dif {field 4.ycxl_cancelorreinstate.0}=1} | {translatestatictext 'Cancelled'.{const language}} {/dif}{else} | {/else}{/else}

{dif '{field 1.xpda_longdesc}'=''} {/dif}{else} | {field 1.xpda_LongDesc} {/else}{dif '{field 1.PartyName}'=''} | {/dif}{else} | {translatestatictext 'Party:'.{const language}} {field 1.PartyName} {/else} {dif {field 1.HAS_MULTIGUEST}=0} | {/dif}{else} | {translatestatictext 'Multi Guest'.{const language}} {/else} {dif {field 12.LOCATOR.0}=1} | {translatestatictext 'Locator'.{const language}} {/dif}{else} | {/else} {dif {field 12.TRACE.0}=2} | {translatestatictext 'Trace'.{const language}} {/dif}{else} | {/else} {dif '{field 13.YMNT_TEXT}'=''} | {/dif}{else} | {translatestatictext 'Message'.{const language}} {/else}

{dif (({field 1.YRES_HASSHARE}=0) and ({field 8.zdco_id.0}=0))}{/dif}{else}

{dif {field 8.zdco_id.0}=0} {/dif}{else} | {translatestatictext 'Billing Instructions'.{const language}} ê{/else} | {dif {field 1.YRES_HASSHARE.0}=0}{/dif}{else}{translatestatictext 'Sharer'.{const language}} {dif {field 1.YRES_SHARETYPE}=1}{translatestatictext '(Master)'.{const language}}{/dif}{else}{dif {field 1.YRES_SHARETYPE}=2}{translatestatictext '(Slave)'.{const language}}{/dif}{else}{/else}{/else}{/else}

{/else} {dif {field 1.yres_noavailreason}=1}

{translatestatictext 'Priority:'.{const language}} | {field 5.ywlp_longdesc} | {translatestatictext 'Reason:'.{const language}} | {field 5.ywlr_longdesc}; {field 5.WaitlistComm} | {translatestatictext 'Info:'.{const language}} | {field 5.ywlt_text}

{/dif}

{translatestatictext 'Arrival:'.{const language}} | {field 1.Arrivalday}, {field 1.arrivaldate} | {translatestatictext 'Departure:'.{const language}} | {field 1.Departureday}, {field 1.departuredate} | {translatestatictext 'Nights:'.{const language}} | {field 1.nights}
{translatestatictext 'Rooms:'.{const language}} | {field 1.ydet_noofrooms} {field 1.ycat_longdesc} | {translatestatictext 'Room No.:'.{const language}} | {field 1.yrms_shortdesc} | {translatestatictext 'No of Pers.:'.{const language}} | {field 1.ydet_adultno} {dif {field 1.ydet_adultno}=1} {translatestatictext 'Adult'.{const language}} {/dif} {else} {translatestatictext 'Adults'.{const language}} {/else}{dif {field 1.totalkids}=0}{/dif}{else} {field 1.totalkids} {dif {field 1.totalkids}=1} {translatestatictext 'Child'.{const language}} {/dif} {else} {translatestatictext 'Children'.{const language}} {/else}{/else}
{translatestatictext 'Rate Code:'.{const language}} | {field 1.yrch_longdesc} | {translatestatictext 'Rate Amount:'.{const language}} | {field 1.localrateamount} {field 16.currency} {dif '{field 1.CURRENCY}'='{field 16.currency}'} {/dif} {else} / {field 1.foreignrateamount} {field 1.currency}{/else} {dif {field 1.totalkids}=0} |  | {/dif}{else} | {translatestatictext 'Child Age Cat.:'.{const language}} | {forall 10}{field 10.num} {field 10.description} {/forall} {/else}
{translatestatictext 'Packages:'.{const language}} | {field 1.packages_long} | {translatestatictext 'Open Balance:'.{const language}} | {field 2.Totamount} | {translatestatictext 'Market Code:'.{const language}} | {field 1.xcma_longdesc}

{translatestatictext 'Address:'.{const language}} | {field 14.address}

{dif {field 7.xcno_id.0}=0}{/dif}{else}

{translatestatictext 'Notes for Profile:'.{const language}} | {forall 7} {dif ({field 7.xcnc_restriction.0}=1) and ({field 15.RestrictedNotesAllowed.0}=0)}{/dif}{else} {field 7.xcnc_shortdesc}: {field 7.xcno_notes}
| {/else}{/forall}

{/else} {dif {field 11.xcno_id.0}=0}{/dif}{else}

{translatestatictext 'Notes for Reservation:'.{const language}} | {forall 11} {dif ({field 11.xcnc_restriction.0}=1) and ({field 15.RestrictedNotesAllowed.0}=0)}{/dif}{else} {field 11.xcnc_shortdesc}: {field 11.xcno_notes}
| {/else}{/forall}

{/else} {dif {field 8.zdco_id.0}=0}{/dif}{else}

{translatestatictext 'Billing Instructions'.{const language}} é |
{translatestatictext 'Window'.{const language}} | {translatestatictext 'Room/Account'.{const language}} | {translatestatictext 'Target'.{const language}} | {translatestatictext 'Department Codes'.{const language}}{startloop Instructions}

{loopconst Window} | {loopconst Room} | {loopconst Target} | {loopconst DepCodes}
{/loop}

{/else}