@extends('layouts.master') @section('style') @endsection @section('content')
@foreach($all as $info) id)->where('status',1)->get(); ?> @if(count($pen) > 0) @foreach($pen as $p) @endforeach @endif id)->where('status',2)->get(); ?> @if(count($in_proecss) > 0) @foreach($in_proecss as $p) @endforeach @endif id) ->where('status',6)->whereDate('closing_time', '=', date('Y-m-d'))->get(); ?> @if(count($completed) > 0) @foreach($completed as $p) @endforeach @endif @endforeach

{{$info->name}}

Pending Task:
{{$p->name}} (Assign: {{date("d-m-Y H:i", strtotime($p->assign_time))}} # Estimated: {{$p->estimated_time}} )
Inprocess Task:
{{$p->name}} ( Start: {{date("d-m-Y H:i", strtotime($p->start_time))}} # Estimated: {{$p->estimated_time}} )
Today's Completed Task:
{{$p->name}} ( Completed: {{date("d-m-Y H:i", strtotime($p->closing_time))}})
@endsection