{runquery 1} {runsubquery 2.1.ybom_id}{runsubquery 3.1.ybom_id}

##

{dif {field 2.yblh_ybom_id.0}=0}{/dif}{else}
{translatestatictext 'Block Name/Status'.{const language}} | {field 2.yblh_shortdesc} | {field 2.ybst_longdesc} |
{translatestatictext 'Rate Code'.{const language}} | {dif '{field 2.yrch_Shortdesc}'=''}{/dif}{else}{field 2.yrch_longdesc} ({field 2.yrch_shortdesc}){/else} |  |
{translatestatictext 'Actual Rooms'.{const language}} {forall 2} | {dif {field 2.YBLD_ACTUALNOOFROOMS.0}=0}{/dif}{else}{field 2.YBLD_DATE}{/else} | {dif {field 2.YBLD_ACTUALNOOFROOMS.0}=0}{/dif}{else}{field 2.YBLD_ACTUALNOOFROOMS}{/else} | {dif {field 2.YBLD_ACTUALNOOFROOMS.0}=0}{/dif}{else}{field 2.YCAT_LONGDESC}{/else} {/forall}
{/else} {dif '{field 3.ygrp_name}'=''}{/dif}{else}
{translatestatictext 'Group Name'.{const language}} | {dif '{field 3.ygrp_name}'=''} {/dif}{else}{field 3.ygrp_name} {/else} |  |
{translatestatictext 'Rate Code'.{const language}} | {dif '{field 3.yrch_Shortdesc}'=''}{/dif}{else}{field 3.yrch_longdesc} ({field 3.yrch_shortdesc}){/else} |  |
{translatestatictext 'Actual Rooms'.{const language}} {forall 3} | {dif {field 3.YDET_NOOFROOMS.0}=0}{/dif}{else}{field 3.YDET_DATE}{/else} | {dif {field 3.YDET_NOOFROOMS.0}=0}{/dif}{else}{field 3.YDET_NOOFROOMS}{/else} | {dif {field 3.YDET_NOOFROOMS.0}=0}{/dif}{else}{field 3.YCAT_LONGDESC}{/else} {/forall}
{/else}