{runquery 1} {runquery 2} {runquery 5}{runquery 6}{runquery 7}
{translatestatictext 'Top consumptions of'.{const language}} {field 6.name2}
{dif {field 5.TotalPosRev.0}=0}
{translatestatictext 'No POS Revenue'.{const language}}
{/dif} {else}
{translatestatictext 'Total POS Revenue of'.{const language}} {field 5.TotalPosRev} {field 7.currency}

- {translatestatictext 'Article'.{const language}}
  {translatestatictext 'Consumption'.{const language}}
  {translatestatictext 'Total'.{const language}}
{forall 1} {dif ({field 1.rownum} mod 2=0)}{/dif}
- {else}
- {/else}
  {field 1.MFORDER_ARTNAME}
  {field 1.COUNTX}
  {field 1.FormattedOrderTotal} {field 7.currency}
{/forall}

{translatestatictext 'Last 10 consumptions'.{const language}}

- {translatestatictext 'Article'.{const language}}
  {translatestatictext 'Consumption Time'.{const language}}
{forall 2} {dif ({field 2.rownum} mod 2=0)}{/dif}
- {else}
- {/else}
  {field 2.MFORDER_ARTNAME}
  {field 2.Check_Open_Time}
{/forall}

{translatestatictext 'Consumption by Overgroups'.{const language}}
{runquery 3}{forall 3}
{field 3.overgroupname}
{runsubquery 4.3.POS_XCMS_ID}

- Article
  {translatestatictext 'Consumption'.{const language}}
{forall 4} {if ({field 3.overgroupname})=({field 4.overgroupname})} {dif ({field 4.rownum} mod 2=0)}{/dif}
- {else}
- {/else}
  {field 4.MFORDER_ARTNAME}
  {field 4.COUNTX}
{/if}{/forall}

{/forall} {/else}