id}}','page':'task'},'edit_task')">{{$task->type->Name}} LeadID}}'},'leadContent')">{{$task->LeadID}} {{$task->lead->contact->name()}} {{$task->lead->contact->CellPhone}} {{$task->lead->contact->_location(false)}} {{optional($task->assignedTo)->name}} {{$task->ScheduleDate}} {{$task->AppStartTime}} @php $year = Date('Y'); $month = Date('m'); if($month<10){ $month = '0'.$month; } $day = Date('d') - 1; if($day<10){ $day = '0'.$day; } $curDate = $month.'/'.$day.'/'.$year; @endphp @if($task->ScheduleDate > $curDate)

@else

Past Due

@endif @if ($task->AppComment || $task->TaskComment)@endif