{BEGIN style_block} {$includes} {END style_block} {$header}
{BEGIN grid_block} {BEGIN data_block}
{BEGIN grid_row} {BEGIN group} {BEGIN newgroup} {BEGIN group_headers} {BEGIN groups_order_block} {END groups_order_block} {END group_headers} {BEGIN last_group_block} {BEGIN group_headers} {END group_headers} {BEGIN not_group_fields_values} {END not_group_fields_values} {END last_group_block} {END newgroup} {END group} {BEGIN details_summary_block} {BEGIN row_data} {BEGIN group} {BEGIN group_level} {END group_level} {BEGIN default_level} {END default_level} {END group} {BEGIN not_group_fields_values} {END not_group_fields_values} {END row_data} {END details_summary_block} {BEGIN group_summary_block} {$td_columns} {BEGIN group_summary_totals} {END group_summary_totals} {BEGIN sum_aggregation_block} {BEGIN group_summary_fields_sum} {BEGIN group_field_flag} {END group_field_flag} {BEGIN sum_field_flag} {END sum_field_flag} {BEGIN border_flag} {END border_flag} {BEGIN default_flag} {END default_flag} {END group_summary_fields_sum} {END sum_aggregation_block} {BEGIN avg_aggregation_block} {BEGIN group_summary_fields_avg} {BEGIN group_field_flag} {END group_field_flag} {BEGIN avg_field_flag} {END avg_field_flag} {BEGIN border_flag} {END border_flag} {BEGIN default_flag} {END default_flag} {END group_summary_fields_avg} {END avg_aggregation_block} {BEGIN min_aggregation_block} {BEGIN group_summary_fields_min} {BEGIN group_field_flag} {END group_field_flag} {BEGIN min_field_flag} {END min_field_flag} {BEGIN border_flag} {END border_flag} {BEGIN default_flag} {END default_flag} {END group_summary_fields_min} {END min_aggregation_block} {BEGIN max_aggregation_block} {BEGIN group_summary_fields_max} {BEGIN group_field_flag} {END group_field_flag} {BEGIN max_field_flag} {END max_field_flag} {BEGIN border_flag} {END border_flag} {BEGIN default_flag} {END default_flag} {END group_summary_fields_max} {END max_aggregation_block} {END group_summary_block} {END grid_row} {BEGIN summary_footer} {BEGIN group_page_order_fields} {END group_page_order_fields} {BEGIN page_order_fields} {BEGIN show} {END show} {END page_order_fields} {END summary_footer} {BEGIN page_summary_block} {BEGIN sum_aggregation_block} {BEGIN page_summary_fields_sum} {BEGIN first_field_flag} {END first_field_flag} {BEGIN sum_field_flag} {END sum_field_flag} {BEGIN default_flag} {END default_flag} {END page_summary_fields_sum} {END sum_aggregation_block} {BEGIN avg_aggregation_block} {BEGIN page_summary_fields_avg} {BEGIN first_field_flag} {END first_field_flag} {BEGIN avg_field_flag} {END avg_field_flag} {BEGIN default_flag} {END default_flag} {END page_summary_fields_avg} {END avg_aggregation_block} {BEGIN min_aggregation_block} {BEGIN page_summary_fields_min} {BEGIN first_field_flag} {END first_field_flag} {BEGIN min_field_flag} {END min_field_flag} {BEGIN default_flag} {END default_flag} {END page_summary_fields_min} {END min_aggregation_block} {BEGIN max_aggregation_block} {BEGIN page_summary_fields_max} {BEGIN first_field_flag} {END first_field_flag} {BEGIN max_field_flag} {END max_field_flag} {BEGIN default_flag} {END default_flag} {END page_summary_fields_max} {END max_aggregation_block} {END page_summary_block} {BEGIN global_summary_block} {BEGIN sum_aggregation_block} {BEGIN page_summary_fields_sum} {BEGIN first_field_flag} {END first_field_flag} {BEGIN sum_field_flag} {END sum_field_flag} {BEGIN default_flag} {END default_flag} {END page_summary_fields_sum} {END sum_aggregation_block} {BEGIN avg_aggregation_block} {BEGIN page_summary_fields_avg} {BEGIN first_field_flag} {END first_field_flag} {BEGIN avg_field_flag} {END avg_field_flag} {BEGIN default_flag} {END default_flag} {END page_summary_fields_avg} {END avg_aggregation_block} {BEGIN min_aggregation_block} {BEGIN page_summary_fields_min} {BEGIN first_field_flag} {END first_field_flag} {BEGIN min_field_flag} {END min_field_flag} {BEGIN default_flag} {END default_flag} {END page_summary_fields_min} {END min_aggregation_block} {BEGIN max_aggregation_block} {BEGIN page_summary_fields_max} {BEGIN first_field_flag} {END first_field_flag} {BEGIN max_field_flag} {END max_field_flag} {BEGIN default_flag} {END default_flag} {END page_summary_fields_max} {END max_aggregation_block} {END global_summary_block}
  {$group_label}:  {$grval}
 {$field_label}
{$group_field_value} {$field_value}
Summary for {$label} {$grval} - {$total_cnt} records total
Sum{$group_total_sum_value}  
Average{$group_total_avg_value}  
Min{$group_total_min_value}  
Max{$group_total_max_value}  
 {$label}
Page summary {$page_total_cnt} - records total
Sum{$page_total_sum} 
Average{$page_total_avg} 
Min{$page_total_min} 
Max{$page_total_max} 
Global summary {$global_total_cnt} - records total
Sum{$global_total_sum} 
Average{$global_total_avg} 
Min{$global_total_min} 
Max{$page_total_max} 
{END data_block} {END grid_block}
{$bodyend}