{include file="header.tpl.html"}
{if $no_customer_integration == 1} The current project does not have customer integration so this report can not be viewed. {else}
Customer Stats Report - {$project_name}
{if $has_support_levels == 1}Support Level{/if} Date Range Sections to Display
{if $has_support_levels == 1} {/if}
From {html_select_date time=$start_date prefix="" field_array="start" start_year="-2" end_year="+1" field_order="YMD" month_format="%b" year_empty="year" month_empty="mon" day_empty="day" all_extra="class='default'"}
To {html_select_date time=$end_date prefix="" field_array="end" start_year="-2" end_year="+1" field_order="YMD" month_format="%b" year_empty="year" month_empty="mon" day_empty="day" all_extra="class='default'"}
Options Include expired contracts
{if $current_role >= $roles.manager} Customer {/if} {if $current_role >= $roles.manager} {/if}
Feedback
{if $data != ''} Red values indicate value is higher than the aggregate one.
Blue values indicate value is lower than the aggregate one.
{$date_msg} {if $display.customer_counts == 1 || $display.issue_counts == 1 || $display.email_counts == 1}
{if $display.customer_counts == 1}{/if} {if $display.issue_counts == 1}{/if} {if $display.email_counts == 1}{/if} {if $display.customer_counts == 1} {/if} {if $display.issue_counts == 1} {/if} {if $display.email_counts == 1} {/if} {section name=stats loop=$data} {cycle values=$cycle assign="row_color"} {assign var=row_span value=1} {if $display.customer_counts == 1} {/if} {if $display.issue_counts == 1} {/if} {if $display.email_counts == 1} {/if} {/section}
{$row_label}CustomersIssues1Emails by Customers2 Emails by Staff3
Count Using CSC Issues in CSC
(0/1-2/3-8/>8)
Tot Avg Med MaxTot Avg Med Tot Avg. Med
{$data[stats].title} {$data[stats].customer_counts.customer_count} {$data[stats].customer_counts.active} {$data[stats].customer_counts.inactive|floor}% / {$data[stats].customer_counts.activity.low|floor}% / {$data[stats].customer_counts.activity.medium|floor}% / {$data[stats].customer_counts.activity.high|floor}% {$data[stats].issue_counts.total} {$data[stats].issue_counts.avg|formatValue:$data.0.issue_counts.avg:2} {$data[stats].issue_counts.median|formatValue:$data.0.issue_counts.median:2} {$data[stats].issue_counts.max|formatValue:$data.0.issue_counts.max:2}{$data[stats].email_counts.customer.total} {$data[stats].email_counts.customer.avg|formatValue:$data.0.email_counts.customer.avg:2} {$data[stats].email_counts.customer.median|formatValue:$data.0.email_counts.customer.median:2} {$data[stats].email_counts.developer.total} {$data[stats].email_counts.developer.avg|formatValue:$data.0.email_counts.developer.avg:2} {$data[stats].email_counts.developer.median|formatValue:$data.0.email_counts.developer.median:2}
{/if} {* Display second table *} {if $display.time_stats == 1}
{if $display.time_stats == 1} {/if} {if $display.time_stats == 1} {/if} {section name=stats loop=$data} {cycle values=$cycle assign="row_color"} {assign var=row_span value=1} {if $display.time_stats == 1} {/if} {/section}
{$row_label}Time To First Response Time To Close4
Min Avg Med Max Min Avg Med Max
{$data[stats].title} {$data[stats].time_stats.time_to_first_response.min_formatted|formatValue:$data.0.time_stats.time_to_first_response.min:"":$data[stats].time_stats.time_to_first_response.min} {$data[stats].time_stats.time_to_first_response.avg_formatted|formatValue:$data.0.time_stats.time_to_first_response.avg:"":$data[stats].time_stats.time_to_first_response.avg} {$data[stats].time_stats.time_to_first_response.median_formatted|formatValue:$data.0.time_stats.time_to_first_response.median:"":$data[stats].time_stats.time_to_first_response.median} {$data[stats].time_stats.time_to_first_response.max_formatted|formatValue:$data.0.time_stats.time_to_first_response.max:"":$data[stats].time_stats.time_to_first_response.max} {$data[stats].time_stats.time_to_close.min_formatted|formatValue:$data.0.time_stats.time_to_close.min:"":$data[stats].time_stats.time_to_close.min} {$data[stats].time_stats.time_to_close.avg_formatted|formatValue:$data.0.time_stats.time_to_close.avg:"":$data[stats].time_stats.time_to_close.avg} {$data[stats].time_stats.time_to_close.median_formatted|formatValue:$data.0.time_stats.time_to_close.median:"":$data[stats].time_stats.time_to_close.median} {$data[stats].time_stats.time_to_close.max_formatted|formatValue:$data.0.time_stats.time_to_close.max:"":$data[stats].time_stats.time_to_close.max}

{/if} {* Display 3rd table *} {if $display.time_tracking == 1}
{assign var=col_span value=$time_tracking_categories|@count} {assign var=col_span value="`$col_span+1`"} {foreach name=time_tracking from=$time_tracking_categories key=ttc_id item=ttc_title} {/foreach} {section name=stats loop=$data} {cycle values=$cycle assign="row_color"} {foreach name=time_tracking from=$time_tracking_categories key=ttc_id item=ttc_title} {/foreach} {foreach name=time_tracking from=$time_tracking_categories key=ttc_id item=ttc_title} {/foreach} {foreach name=time_tracking from=$time_tracking_categories key=ttc_id item=ttc_title} {/foreach} {/section}
Support LevelTime Tracking5
 {$ttc_title}
{$data[stats].title} Total {$data[stats].time_tracking[$ttc_id].total_formatted|formatValue:$data.0.time_tracking[$ttc_id].total:"":$data[stats].time_tracking[$ttc_id].total}
Avg {$data[stats].time_tracking[$ttc_id].avg_formatted|formatValue:$data.0.time_tracking[$ttc_id].avg:"":$data[stats].time_tracking[$ttc_id].avg}
Med {$data[stats].time_tracking[$ttc_id].median_formatted|formatValue:$data.0.time_tracking[$ttc_id].median:"":$data[stats].time_tracking[$ttc_id].median}
{/if} 1. Refers to the number of issues in eventum for the given support level or customer. Average and median counts do not include customers who have never opened an issue.
2. Refers to the number of emails sent by customers in eventum per issue. Does not include emails sent to general support mailbox.
3. Refers to the number of emails sent by developers in eventum per issue. Does not include emails sent to general support mailbox.
4. Date issue was opened - Date issue was closed for all closed issues.
5. All time tracking information for the given support level or customer. Issues without any time tracking data do not affect the average or median.

{* Loop through graphs, display them all *} {foreach name=graphs from=$graphs item=graph key=graph_id} {$date_msg}

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