{BEGIN rtlCSS} {END rtlCSS} {BEGIN styleCSSFiles} {END styleCSSFiles} {BEGIN pageCSSFiles} {END pageCSSFiles} {BEGIN body} {$header}
{BEGIN container_pdf}
{BEGIN printbuttons}
{BEGIN divideintopages_block} Prepare for printing {END divideintopages_block}
{END printbuttons}
{END container_pdf} {BEGIN container_pageheader}

{$pagetitlelabel Details rprint}

{BEGIN page_number}

Page {$pageno} of {$pagecount}

{END page_number}
{END container_pageheader}
{BEGIN container_grid}
{BEGIN grid_row} {BEGIN Name_newgroup} {END Name_newgroup} {BEGIN Year_newgroup} {END Year_newgroup} {BEGIN row_data} {END row_data} {BEGIN Year_endgroup} {END Year_endgroup} {BEGIN Name_endgroup} {END Name_endgroup} {END grid_row}
{$label Details Name} {$label Details Year} {$label Details Month} {$label Details profit} {$label Details Average} {$label Details My_Jobs} {$label Details My_Profit} {$label Details My_Average}
{$Name_grval}
  {$Year_grval}
    {$Month_value} {$profit_value} {$Average_value} {$My_Jobs_value} {$My_Profit_value} {$My_Average_value}
Summary for {$label Details Year} {$Year_grval} - {$groupYear_total_cnt} records total
  Sum   {$groupYear_totalprofit_sum}     {$groupYear_totalMy_Profit_sum}  
  Average   {$groupYear_totalprofit_avg} {$groupYear_totalAverage_avg} {$groupYear_totalMy_Jobs_avg} {$groupYear_totalMy_Profit_avg} {$groupYear_totalMy_Average_avg}
Summary for {$label Details Name} {$Name_grval} - {$groupName_total_cnt} records total
Sum     {$groupName_totalprofit_sum}     {$groupName_totalMy_Profit_sum}  
Average     {$groupName_totalprofit_avg} {$groupName_totalAverage_avg} {$groupName_totalMy_Jobs_avg} {$groupName_totalMy_Profit_avg} {$groupName_totalMy_Average_avg}
{END container_grid}
{$footer} {END body}