@foreach($all as $info)
{{$info->name}}
|
id)->where('status',1)->get();
?>
@if(count($pen) > 0)
|
Pending Task:
|
@foreach($pen as $p)
|
|
{{$p->name}}
(Assign: {{date("d-m-Y H:i", strtotime($p->assign_time))}} # Estimated: {{$p->estimated_time}} )
|
@endforeach
@endif
id)->where('status',2)->get();
?>
@if(count($in_proecss) > 0)
|
Inprocess Task:
|
@foreach($in_proecss as $p)
|
|
{{$p->name}} (
Start: {{date("d-m-Y H:i", strtotime($p->start_time))}} # Estimated: {{$p->estimated_time}} )
|
@endforeach
@endif
id)
->where('status',6)->whereDate('closing_time', '=', date('Y-m-d'))->get();
?>
@if(count($completed) > 0)
|
Today's Completed Task:
|
@foreach($completed as $p)
|
|
{{$p->name}}
( Completed: {{date("d-m-Y H:i", strtotime($p->closing_time))}})
|
@endforeach
@endif
@endforeach