Skip to content
Snippets Groups Projects
Commit e27f02f8 authored by aydreeihn's avatar aydreeihn
Browse files

Issue: Agent Export Department Status

This commit changes the Agent export to display (disabled) beside the name of Departments on the export if they are Archived or Disabled. This will help Agents determine if an Agent is not assigned to any active Departments.
parent 96982469
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ class Export {
$filename = $filename ?: sprintf('Agents-%s.csv',
strftime('%Y%m%d'));
Http::download($filename, "text/$how");
$depts = Dept::getDepartments();
$depts = Dept::getDepartments(null, true, Dept::DISPLAY_DISABLED);
echo self::dumpQuery($agents, array(
'::getName' => 'Name',
'::getUsername' => 'Username',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment