{!! Html::style(asset('landing/css/bootstrap.min.css')) !!}
@php
$start = $project->start_date;
$end = $project->end_date;
$startDate = new DateTime($start);
$endDate = new DateTime($end);
$currentDate = new DateTime();
$date1 = strtotime($start);
$date2 = strtotime($end);
$cur= date('Y-m-d');
$current = strtotime($cur);
############### days finding ################
$date1=date_create($start);
$date2=date_create($end);
$diff=date_diff($date1,$date2);
$no_working_days=$diff->format("%a");
// $no_working_days=$no_working_days;// include the last day
############### END ##############################
############### Remaining days ###################
$date1=date_create($cur);
$date2=date_create($end);
$diff=date_diff($date1,$date2);
$remaining_working_days=$diff->format("%a");
// $remaining_working_days=$remaining_working_days;// include the last day
############### Remaining days ##################
$completed_days=$no_working_days-$remaining_working_days;
// percentage calculator
$perday=100/$no_working_days;
// $date1=date_create($start);
// $date2=date_create($cur);
// $diff=date_diff($date1,$date2);
// $no_days_completed=$diff->format("%a");
// $no_days_completed=$no_days_completed+1;
$current_percentage=round($completed_days*$perday);
$remaing_percenatge=round(100-$current_percentage);
// percentage caluclator end
// $totalTime = $endDate->getTimestamp() - $startDate->getTimestamp();
// $elapsedTime = $currentDate->getTimestamp() - $startDate->getTimestamp();
// echo "Total project time = " . $totalTime . "
";
// echo "Elapsed project time = " . $elapsedTime . "
";
// $current_percentage=round(($elapsedTime / $totalTime) * 100.0);
// $remaing_percenatge=round(100-$current_percentage);
@endphp
Page Title
{{-- --}}
{{$project->project_name}} - {{date('Y-m-d h:i A')}}
Main Task List
| Title |
Planned Start Date |
Planned Finish |
Duration |
Planned % as of today |
Planned Value |
Actual Start Date |
Actual Finish |
Actual Duration |
Actual % as of Today |
Earned Value |
@forelse($taskdata as $key => $value)
@if( $value['actual_percent'] < $value['percentage_as_today'])
@else
@endif
| {{$value['title']}} |
{{$value['planed_start']}} |
{{$value['planed_end']}} |
{{$value['duration']}} |
{{$value['percentage_as_today']}}% |
Planned Value |
{{$value['actual_start']}} |
{{$value['actual_end']}} |
{{$value['actual_duration']}} |
{{$value['actual_percent']}}% |
Earned Value |
@empty
| No Tasks are Avialable to see |
@endforelse
Today Updated Task List
| Title |
Planned Start Date |
Planned Finish |
Duration |
Percentage |
Progress Updated Date |
Description |
User Name |
User Email |
@forelse($taskdata2 as $key => $value)
| {{$value['title']}} |
{{$value['planed_start']}} |
{{$value['planed_end']}} |
{{$value['duration']}} |
{{$value['percentage']}} |
{{$value['progress_updated_date']}} |
{!! $value['description'] !!} |
{{$value['user']}} |
{{$value['email']}} |
@empty
| No Tasks are Avialable to see |
@endforelse