{BEGIN style_block} {$includes} {END style_block}
{BEGIN grid_block} {BEGIN data_block}
{BEGIN grid_row} {BEGIN group} {BEGIN first_newgroup} {BEGIN first_group_block} {$first_group_html} {END first_group_block} {BEGIN group_headers} {BEGIN true_groups_order_block} {END true_groups_order_block} {BEGIN false_groups_order_block} {BEGIN groups_sds_block} {END groups_sds_block} {BEGIN groups_sds_block_else} {END groups_sds_block_else} {END false_groups_order_block} {END group_headers} {BEGIN not_group_fields_values_block} {END not_group_fields_values_block} {END first_newgroup} {END group} {BEGIN no_newgroup_block} {BEGIN group} {END group} {BEGIN not_group_fields_values} {END not_group_fields_values} {END no_newgroup_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 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}
{$group2_grval} {BEGIN groups_sds_block}
{$group2_field_value} {END groups_sds_block}
{$group2_field_value} {$field_value}
{$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}