{runquery 1}{runsubquery 2.1.xopp_id}{runsubquery 3.1.xopp_id}
{translatestatictext 'Opportunity Details'.{const language}}
- {translatestatictext 'Opportunity Name'.{const language}}
  {field 1.xopp_name}
- {translatestatictext 'Account'.{const language}}
  {field 1.Name2}
- {translatestatictext 'Amount and Probability'.{const language}}
  {field 1.xopp_Amount} with {field 1.xopp_Probability} %
- {translatestatictext 'Amount expected'.{const language}}
  {field 1.xopp_expectedrevenue}
- {translatestatictext 'Close Date'.{const language}}
  {field 1.xopp_CloseDate}
- {translatestatictext 'Stage'.{const language}}
  {field 1.Stage}
{dif ({field 2.yoprid.0}=0) and ({field 3.yopfid.0}=0)}{/dif}{else}
{translatestatictext 'Requisition Details'.{const language}}
{dif {field 2.yoprid.0}=0}{/dif}{else}
- {translatestatictext 'Rooms'.{const language}}
  {translatestatictext 'Room Type'.{const language}}
  {translatestatictext 'From'.{const language}}
  {translatestatictext 'To'.{const language}}
  {translatestatictext 'Rooms'.{const language}}
  {translatestatictext 'Persons'.{const language}}
  {translatestatictext 'Notes'.{const language}}
{forall 2}
- {field 2.Roomtype}
  {field 2.FromDate}
  {field 2.ToDate}
  {field 2.NoOfRooms}
  {field 2.Persons}
  {field 2.Notes}
  {/forall}
{/else} {dif {field 3.YOPFID.0}=0}{/dif}{else}
- {translatestatictext 'Function Spaces'.{const language}}
  {translatestatictext 'Function Space'.{const language}}
  {translatestatictext 'From'.{const language}}
  {translatestatictext 'To'.{const language}}
  {translatestatictext 'Number of FS'.{const language}}
  {translatestatictext 'Persons'.{const language}}
  {translatestatictext 'Notes'.{const language}}
{forall 3}
- {field 3.FSType}
  {field 3.FromDate}
  {field 3.ToDate}
  {field 3.NoOfFS}
  {field 3.Persons}
  {field 3.Notes}
  {/forall}
{/else} {/else}