{runquery 1} {runquery 2} {runquery 3} {runquery 4} {runquery 5} {runquerywithparameter 6.parameter.{userid}} {runquery 7} {forall 1}
- {translatestatictext 'Name:'.{const language}}
  {field 1.name}{field 1.Greeting}{field 1.Title} {dif '{field 1.vip}'=''}{/dif}{else} ({field 1.vip}){/else}
  {translatestatictext 'Arrival:'.{const language}}
  {dif '{field 1.arrival}'=''} {/dif}{else}{field 1.arrival}{/else}
  {translatestatictext 'Departure:'.{const language}}
  {dif '{field 1.departure}'=''} {/dif}{else}{field 1.departure}{/else}
  {translatestatictext 'Rate Code:'.{const language}}
  {dif '{field 1.ratecode}'=''} {/dif}{else}{field 1.ratecode}{/else}
  {translatestatictext 'Persons:'.{const language}}
  {field 1.persons}
- {translatestatictext 'Company:'.{const language}}
  {dif '{field 1.company}'=''} {/dif} {else}{field 1.company} {/else}
  {translatestatictext 'Room:'.{const language}}
  {dif '{field 1.roomnumber}'=''} {/dif}{else}{field 1.roomnumber} - {field 1.roomcategory}{/else}
  {dif '{field 2.ztra_number}'=''} {/dif}{else}{translatestatictext 'Transponder:'.{const language}}{/else}
  {dif '{field 2.ztra_number}'=''} {/dif}{else}{field 2.ztra_number}{/else}
  {translatestatictext 'Status:'.{const language}}
  {reservationstatustext {field 1.id}}
  {translatestatictext 'Balance:'.{const language}}
  {dif '{field 1.balance}'>=0}{field 1.balance}{/dif}{else}{field 1.balance}{/else}
{dif ('{field 1.party}'='') and ('{field 1.freetext1}'='') and ('{field 1.creditlimit}'=0)}{/dif}{else}
- {dif '{field 1.party}'=''} {/dif}{else}{translatestatictext 'Party:'.{const language}}{/else}
  {dif '{field 1.party}'=''} {/dif}{else}{field 1.party} {/else}
  {dif '{field 1.freetext1}'=''} {/dif}{else}{translatestatictext 'Billing Info:'.{const language}}{/else}
  {dif '{field 1.freetext1}'=''} {/dif}{else}{field 1.freetext1}{/else}
  {dif '{field 1.creditlimit}'=0} {/dif}{else}{translatestatictext 'Credit Limit:'.{const language}}{/else}
  {dif '{field 1.creditlimit}'=0} {/dif}{else}{field 1.creditlimit}{/else}
  {dif '{field 1.securitydeposit}'=''} {/dif}{else}{translatestatictext 'Security Deposit:'.{const language}}{/else}
  {dif '{field 1.securitydeposit}'=''} {/dif}{else}{field 1.securitydeposit}{/else}
{/else} {dif ('{field 4.HAS_MULTIGUEST}'='0') and ('{field 1.freetext2}'='')}{/dif}{else}
- {dif '{field 4.HAS_MULTIGUEST}'='0'} {/dif}{else}{translatestatictext 'Multi Guest:'.{const language}}{/else}
  {dif '{field 4.HAS_MULTIGUEST}'='0'} {/dif}{else}{field 4.MULTI_GUEST_NAMES} {/else}
  {dif '{field 1.freetext2}'=''} {/dif}{else}{translatestatictext 'Remarks:'.{const language}}{/else}
  {dif '{field 1.freetext2}'=''} {/dif}{else}{field 1.freetext2}{/else}
{/else} {dif({field 3.BookingId.0}=0) and ('{field 5.notes}'='')}{/dif}{else}
- {dif {field 3.BookingId.0}=0} {/dif}{else}{translatestatictext 'CCM Booking:'.{const language}}{/else}
  {dif {field 3.BookingId.0}=0} {/dif}{else}{field 3.BookingId}{/else}
  {dif (({field 5.xcnc_restriction.0}=1) and ({field 6.RestrictedNotesAllowed.0}=0)) or ('{field 5.notes}'='')} {/dif}{else}{translatestatictext 'Notes:'.{const language}}{/else}
  {dif (({field 5.xcnc_restriction.0}=1) and ({field 6.RestrictedNotesAllowed.0}=0)) or ('{field 5.notes}'='')} {/dif}{else}{field 5.notes}{/else}
{/else} {dif ('{field 4.CARDLESS_REBATE}')=''}{/dif}{else}
- {translatestatictext 'Rebate:'.{const language}}
  {field 4.CARDLESS_REBATE}
{/else} {dif '{htmlconst billinginstructions}'=''}{/dif}{else}
- {translatestatictext 'Billing:'.{const language}}
  {htmlconst billinginstructions}
{/else} {/forall} {forall 7}
- {translatestatictext 'Name:'.{const language}}
  {field 7.name}{field 7.Greeting}{field 7.Title} {dif '{field 7.vip}'=''}{/dif}{else} ({field 7.vip}){/else}
  {translatestatictext 'Arrival:'.{const language}}
  {dif '{field 7.arrival}'=''} {/dif}{else}{field 7.arrival}{/else}
  {translatestatictext 'Departure:'.{const language}}
  {dif '{field 7.departure}'=''} {/dif}{else}{field 7.departure}{/else}
  {translatestatictext 'Rate Code:'.{const language}}
  {dif '{field 7.ratecode}'=''} {/dif}{else}{field 7.ratecode}{/else}
  {translatestatictext 'Persons:'.{const language}}
  {field 7.persons}
- {translatestatictext 'Company:'.{const language}}
  {dif '{field 7.company}'=''} {/dif} {else}{field 7.company} {/else}
  {translatestatictext 'Room:'.{const language}}
  {dif '{field 7.roomnumber}'=''} {/dif}{else}{field 7.roomnumber} - {field 7.roomcategory}{/else}
  {dif '{field 2.ztra_number}'=''} {/dif}{else}{translatestatictext 'Transponder:'.{const language}}{/else}
  {dif '{field 2.ztra_number}'=''} {/dif}{else}{field 2.ztra_number}{/else}
  {translatestatictext 'Status:'.{const language}}
  {dif '{field 7.status}'=''} {/dif}{else}{field 7.status}{/else}
  {translatestatictext 'Balance:'.{const language}}
  {dif '{field 7.balance}'>=0}{field 7.balance}{/dif}{else}{field 7.balance}{/else}
{dif ('{field 7.party}'='') and ('{field 7.freetext1}'='') and ('{field 7.creditlimit}'=0)}{/dif}{else}
- {dif '{field 7.party}'=''} {/dif}{else}{translatestatictext 'Party:'.{const language}}{/else}
  {dif '{field 7.party}'=''} {/dif}{else}{field 7.party} {/else}
  {dif '{field 7.freetext1}'=''} {/dif}{else}{translatestatictext 'Billing Info:'.{const language}}{/else}
  {dif '{field 7.freetext1}'=''} {/dif}{else}{field 7.freetext1}{/else}
  {dif '{field 7.creditlimit}'=0} {/dif}{else}{translatestatictext 'Credit Limit:'.{const language}}{/else}
  {dif '{field 7.creditlimit}'=0} {/dif}{else}{field 7.creditlimit}{/else}
  {dif '{field 7.securitydeposit}'=''} {/dif}{else}{translatestatictext 'Security Deposit:'.{const language}}{/else}
  {dif '{field 7.securitydeposit}'=''} {/dif}{else}{field 7.securitydeposit}{/else}
{/else} {dif ('{field 4.HAS_MULTIGUEST}'='0') and ('{field 7.freetext2}'='')}{/dif}{else}
- {dif '{field 4.HAS_MULTIGUEST}'='0'} {/dif}{else}{translatestatictext 'Multi Guest:'.{const language}}{/else}
  {dif '{field 4.HAS_MULTIGUEST}'='0'} {/dif}{else}{field 4.MULTI_GUEST_NAMES} {/else}
  {dif '{field 7.freetext2}'=''} {/dif}{else}{translatestatictext 'Remarks:'.{const language}}{/else}
  {dif '{field 7.freetext2}'=''} {/dif}{else}{field 7.freetext2}{/else}
{/else} {dif({field 3.BookingId.0}=0) and ('{field 5.notes}'='')}{/dif}{else}
- {dif {field 3.BookingId.0}=0} {/dif}{else}{translatestatictext 'CCM Booking:'.{const language}}{/else}
  {dif {field 3.BookingId.0}=0} {/dif}{else}{field 3.BookingId}{/else}
  {dif (({field 5.xcnc_restriction.0}=1) and ({field 6.RestrictedNotesAllowed.0}=0)) or ('{field 5.notes}'='')} {/dif}{else}{translatestatictext 'Notes:'.{const language}}{/else}
  {dif (({field 5.xcnc_restriction.0}=1) and ({field 6.RestrictedNotesAllowed.0}=0)) or ('{field 5.notes}'='')} {/dif}{else}{field 5.notes}{/else}
{/else} {dif ('{field 4.CARDLESS_REBATE}')=''}{/dif}{else}
- {translatestatictext 'Rebate:'.{const language}}
  {field 4.CARDLESS_REBATE}
{/else} {dif '{htmlconst billinginstructions}'=''}{/dif}{else}
- {translatestatictext 'Billing:'.{const language}}
  {htmlconst billinginstructions}
{/else} {/forall}