Statistics - SO FAR THIS WEEK
Logged in User
Last Week to Date
Mb
Storage Used
Loading...
Task Status of the Week
Date
Task Created
Task Updated
$val1){
$no_of_tasks=0;
$no_of_tasks_upd=0;$total_hr_spent=0;
foreach($caseAll AS $k=>$value){
if(strtotime($value[0]['created_date'])==strtotime($val1)){
if($value['Easycase']['istype']==1){
$no_of_tasks = $value[0]['cnt'];
}else{
$no_of_tasks_upd = $value[0]['cnt'];;
}
$total_hr_spent = $value[0]['cnt']['hrs'];
}
}
?>
Project Status of the Week
Project
Closed/Total Tasks
Hours
Usage
$pval){
$tot_cases = $pval[0]['totalcase']?$pval[0]['totalcase']:0;
$tot_hrs = $pval[0]['totalhours']?$pval[0]['totalhours']:'0.0';
//$tot_close_per = ($pval[0]['totalcase'] && $pval[0]['closedcase'])?(round((($pval[0]['closedcase']/$pval[0]['totalcase'])*100),2)):0;
$tot_close = $pval[0]['closedcase']?$pval[0]['closedcase']:0;
$curr_wk_tot_closed_tasks +=$tot_close;
$tot_users = $pval[0]['totusers']?$pval[0]['totusers']:0;
if($pval[0]['storage_used']){
$tot_storage = number_format(($pval[0]['storage_used']/1024),2);
$curr_wk_tot_storage_usage +=$tot_storage;
if($tot_storage>=1024){
$tot_storage = number_format(($tot_storage/1024),2)." Gb";
}else{
$tot_storage .=" Mb";
}
}else{
$tot_storage = "0 Mb";
}
$tot_cases = $pval[0]['totalcase']?$pval[0]['totalcase']:0;
?>
'.$tot_close.'/'.$tot_cases;?>
No Project Status on last week
Summary
-
Out of User has not logged in to the system since last week.
-
tasks created and updated on last week
-
closed out of '.$total_task_cr_current_week.' tasks, '.$curr_wk_tot_hr_spent.' hours spent and '.$curr_wk_tot_storage_usage;?> Mb storage used on all projects