feat: Download Agent wise report (#1517)
This commit is contained in:
@@ -8,5 +8,6 @@
|
||||
until: params[:until]
|
||||
}).summary %>
|
||||
<% row = [ agent.name, agent_report[:conversations_count], (agent_report[:avg_first_response_time]/60).to_i, (agent_report[:avg_resolution_time]/60).to_i ] %>
|
||||
<%= CSV.generate_line row %>
|
||||
<% end %>
|
||||
<%= CSV.generate_line row %>
|
||||
<% end %>
|
||||
<%= CSV.generate_line [I18n.t('reports.period', { since: Date.strptime(params[:since], '%s'), until: Date.strptime(params[:until], '%s') })] %>
|
||||
|
||||
Reference in New Issue
Block a user