diff --git a/app/call_centers/call_center_agents.php b/app/call_centers/call_center_agents.php
index 5542f2fe77..ba66758c58 100644
--- a/app/call_centers/call_center_agents.php
+++ b/app/call_centers/call_center_agents.php
@@ -119,6 +119,9 @@
echo "
".$text['header-call_center_agents']." (".$num_rows.")
\n";
echo " \n";
echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','link'=>'call_center_queues.php','style'=>'margin-right: 15px;']);
+ if (permission_exists('call_center_imports')) {
+ echo button::create(['type'=>'button','label'=>$text['button-import'],'icon'=>$_SESSION['theme']['button_icon_import'],'link'=>PROJECT_PATH.'/app/call_center_imports/call_center_imports.php?type=call_center_agents']);
+ }
if ($num_rows) {
echo button::create(['type'=>'button','label'=>$text['button-status'],'icon'=>'user-clock','style'=>'margin-right: 15px;','link'=>'call_center_agent_status.php']);
}
@@ -242,4 +245,4 @@
//show the footer
require_once "resources/footer.php";
-?>
\ No newline at end of file
+?>