{runquery 1} {runsubquery 2.1.xmnr_id} {runquery 3}
- {translatestatictext 'Guestname'.{const language}}
  {field 1.guestname}
- {translatestatictext 'Address'.{const language}}
  {field 1.GuestAddress}
- {translatestatictext 'Membership'.{const language}}
  {field 1.MemberShipType}
- {translatestatictext 'Card number'.{const language}}
  {field 1.xmnr_value}
- {translatestatictext 'Card expiry date'.{const language}}
  {field 1.xmnr_expirydate}
- {translatestatictext 'Account valid from - until'.{const language}}
  {field 1.zfac_actvalidfrom} - {field 1.zfac_expvaliduntil}
- {translatestatictext 'Current Balance'.{const language}}
  {field 1.balance} {field 3.CURRENCY}
{dif {field 1.inactive.0}=1}
- {translatestatictext 'Inactive Reason'.{const language}}
  {field 1.InactiveReason}
{/dif}
- {translatestatictext 'Rebate Details'.{const language}}
- {translatestatictext 'Dep. Code'.{const language}}
  {translatestatictext 'Rebate %'.{const language}}
  {translatestatictext '# Org. Rebates'.{const language}}
  {translatestatictext '# Remaining Rebates'.{const language}}
{forall 2} {dif ({field 2.rownum} mod 2=0)}{/dif}
- {else}
- {/else}
  {field 2.Depcode}
  {field 2.zrcr_Rebate} / {field 2.zrcr_RebateTogether}
  {field 2.ZRCR_MAXNOOFREBATE}
  {field 2.RemainingNumberofRebate}
{/forall}