{runquery 1} {runquery 2}
{dif '{field 1.zytx_inactive}'=1}
- {translatestatictext 'Inactive Card'.{const language}} ({field 1.zytx_inactive_reason})
  {field 1.ztra_number}
{/dif} {else} {dif '{field 1.expired}'=1}
- {translatestatictext 'Expired Card'.{const language}}
  {field 1.ztra_number}
{/dif} {else} {dif '{field 1.cancelled}'=1}
- {translatestatictext 'Cancelled Card'.{const language}} ({field 1.zytx_Cancel_Reason})
  {field 1.ztra_number}
{/dif} {else}
- {translatestatictext 'Card'.{const language}}
  {field 1.ztra_number}
{/else} {/else}
- {translatestatictext 'Type'.{const language}}
  {field 1.zytt_longdesc}
- {translatestatictext 'Payment Cycle'.{const language}}
  {field 1.zypc_longdesc}
- {translatestatictext 'Guest'.{const language}}
  {field 1.GuestFullName}
- {translatestatictext 'Visits'.{const language}}
  {field 1.Visits}
  {field 1.REV}
{dif '{field 1.Visits}' > 0} {forall 2}
- {field 2.ZFAC_ACTVALIDFROM}
  {translatestatictext 'Account'.{const language}} {field 2.ZFAC_LongDesc}
  {field 2.REV}
{/forall} {/dif} {else} {/else}