fix: Add missing translations in agent reports (#2017)

This commit is contained in:
Pranav Raj S
2021-03-30 20:00:17 +05:30
committed by GitHub
parent 42534e1df4
commit 71214b59d8
3 changed files with 17 additions and 1 deletions

View File

@@ -1,4 +1,10 @@
<% headers = ['Agent name', 'Conversations count', 'Avg first response time (Minutes)', 'Avg resolution time (Minutes)'] %>
<% headers = [
I18n.t('reports.agent_csv.agent_name'),
I18n.t('reports.agent_csv.conversations_count'),
I18n.t('reports.agent_csv.avg_first_response_time'),
I18n.t('reports.agent_csv.avg_resolution_time')
]
%>
<%= CSV.generate_line headers %>
<% Current.account.users.each do |agent| %>
<% agent_report = V2::ReportBuilder.new(Current.account, {