-Export Reports - This setting if set to 1 will allow a manager to access the export call reports on the REPORTS screen. Default is 0. For the Export Calls Report, the following field order is used for exports:
call_date,phone_number,status,user,full_name,campaign_id/in-group,vendor_lead_code,source_id,list_id,gmt_offset_now,phone_code,phone_number,title,first_name,middle_initial,last_name,address1,address2,address3,city,state,province,postal_code,country_code,gender,date_of_birth,alt_phone,email,security_phrase,comments,length_in_sec,user_group,alt_dial/queue_seconds
+Export Reports - This setting if set to 1 will allow a manager to access the export call reports on the REPORTS screen. Default is 0. For the Export Calls Report, the following field order is used for exports:
call_date, phone_number, status, user, full_name, campaign_id/in-group, vendor_lead_code, source_id, list_id, gmt_offset_now, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, length_in_sec, user_group, alt_dial/queue_seconds
@@ -14843,6 +14843,7 @@ if ( ($ADD==34) or ($ADD==31) )
}
}
+ echo "\n";
}
@@ -19865,9 +19866,6 @@ if ($ADD==999999)
}
-
-
-
echo "\n";
echo "\n";
@@ -20209,6 +20207,7 @@ if (isset($camp_lists))
$Dsql .= "'$Dstatuses[$o]',";
}
$Dsql = preg_replace("/,$/","",$Dsql);
+ if (strlen($Dsql) < 2) {$Dsql = "''";}
$stmt="SELECT count(*) FROM vicidial_list where called_since_last_reset='N' and status IN($Dsql) and list_id IN($camp_lists) and ($all_gmtSQL) $fSQL";
#$DB=1;
diff --git a/www/vicidial/admin_header.php b/www/vicidial/admin_header.php
index 0d28ac51..800511cb 100644
--- a/www/vicidial/admin_header.php
+++ b/www/vicidial/admin_header.php
@@ -910,15 +910,7 @@ if (strlen($reports_hh) > 1) {
>| >User Stats | >User Status | >Time Sheet | >Days Status |
}
-
-### Do nothing if admin has no permissions
-if($LOGast_admin_access < 1)
- {
- $ADD='99999999999999999999';
- echo "\n";
- echo "You are not authorized to view this page. Please go back.\n";
- }
-
+
if (strlen($reports_hh) > 1) {
?>
>| > |