{include file="header.tpl.html"}
{if $categories|@count > 0} {/if}
{t}Workload by Date Range Report{/t}
{t}Category{/t}:   
{t}Type{/t}:   
{t}Interval{/t}:   
{t}Start{/t}:    {html_select_date time=$start_date prefix="" field_array="start" start_year="-2" end_year="+1" field_order="YMD" month_format="%b" all_extra="class='default'"}
{t}End{/t}:    {html_select_date time=$end_date prefix="" field_array="end" start_year="-2" end_year="+1" field_order="YMD" month_format="%b" all_extra="class='default'"}
{t escape=no}Warning: Some type and interval options, combined with large
date ranges can produce extremely large graphs.{/t}
{if $data != ''}

Project: {$current_project_name}

{foreach name="workload" from=$data key=loop_name item=row} {cycle values=$cycle assign="row_color"} {/foreach}
  Total Avg Med Max
{$loop_name} {$row.stats.total} {$row.stats.avg|round:2} {$row.stats.median} {$row.stats.max}
{t}Avg/Med/Max Issues/Emails{/t} {if $interval == 'day'} per day {elseif $interval == 'week'} per week {elseif $interval == 'month'} per month {elseif $interval == 'dow'} per day of week {/if} for {$start_date} through {$end_date}.







{/if} {include file="footer.tpl.html"}