{BEGIN style_block} {$includes} {END style_block}
{BEGIN grid_block} {BEGIN data_block}
{BEGIN grid_row} {BEGIN group} {BEGIN newgroup} {BEGIN last_group_block} {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 not_group_fields_values} {END not_group_fields_values} {END row_data} {END details_summary_block} {BEGIN group_summary_block} {BEGIN group_summary_totals} {END group_summary_totals} {BEGIN sum_aggregation_block} {BEGIN group_summary_fields_sum} {END group_summary_fields_sum} {END sum_aggregation_block} {BEGIN avg_aggregation_block} {BEGIN group_summary_fields_avg} {END group_summary_fields_avg} {END avg_aggregation_block} {BEGIN min_aggregation_block} {BEGIN group_summary_fields_min} {END group_summary_fields_min} {END min_aggregation_block} {BEGIN max_aggregation_block} {BEGIN group_summary_fields_max} {END group_summary_fields_max} {END max_aggregation_block} {END group_summary_block} {END grid_row} {BEGIN summary_footer} {BEGIN not_group_fields} {END not_group_fields} {END summary_footer} {BEGIN page_summary_block} {BEGIN sum_aggregation_block} {BEGIN page_summary_fields_sum} {END page_summary_fields_sum} {END sum_aggregation_block} {BEGIN avg_aggregation_block} {BEGIN page_summary_fields_avg} {END page_summary_fields_avg} {END avg_aggregation_block} {BEGIN min_aggregation_block} {BEGIN page_summary_fields_min} {END page_summary_fields_min} {END min_aggregation_block} {BEGIN max_aggregation_block} {BEGIN page_summary_fields_max} {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} {END page_summary_fields_sum} {END sum_aggregation_block} {BEGIN avg_aggregation_block} {BEGIN page_summary_fields_avg} {END page_summary_fields_avg} {END avg_aggregation_block} {BEGIN min_aggregation_block} {BEGIN page_summary_fields_min} {END page_summary_fields_min} {END min_aggregation_block} {BEGIN max_aggregation_block} {BEGIN page_summary_fields_max} {END page_summary_fields_max} {END max_aggregation_block} {END global_summary_block}
{$group_label} {$grval}
{$field_label}
{$field_value}
Summary for {$label} {$grval} - {$total_cnt} records total
{BEGIN first_block} Sum {END first_block} {BEGIN sum_field_flag} {$group_total_sum_value} {END sum_field_flag}
{BEGIN first_block} Average {END first_block} {BEGIN avg_field_flag} {$group_total_avg_value} {END avg_field_flag}
{BEGIN first_block} Min {END first_block} {BEGIN min_field_flag} {$group_total_min_value} {END min_field_flag}
{BEGIN first_block} Max {END first_block} {BEGIN max_field_flag} {$group_total_max_value} {END max_field_flag}
{$label}
Page summary {$page_total_cnt} - records total
{BEGIN first_field_flag} Sum {END first_field_flag} {BEGIN sum_field_flag} {$page_total_sum} {END sum_field_flag}
{BEGIN first_field_flag} Average {END first_field_flag} {BEGIN avg_field_flag} {$page_total_avg} {END avg_field_flag}
{BEGIN first_field_flag} Min {END first_field_flag} {BEGIN min_field_flag} {$page_total_min} {END min_field_flag}
{BEGIN first_field_flag} Max {END first_field_flag} {BEGIN max_field_flag} {$page_total_max} {END max_field_flag}
Global summary {$global_total_cnt} - records total
{BEGIN first_field_flag} Sum {END first_field_flag} {BEGIN sum_field_flag} {$global_total_sum} {END sum_field_flag}
{BEGIN first_field_flag} Average {END first_field_flag} {BEGIN avg_field_flag} {$global_total_avg} {END avg_field_flag}
{BEGIN first_field_flag} Min {END first_field_flag} {BEGIN min_field_flag} {$global_total_min} {END min_field_flag}
{BEGIN first_field_flag} Max {END first_field_flag} {BEGIN max_field_flag} {$global_total_max} {END max_field_flag}
{END data_block} {END grid_block}
{$bodyend}