@if(count($projects) > 0)
@foreach($projects as $project)
@php $ide = Crypt::encrypt($project->id); @endphp
{{ $project->project_title }}
@if(isset($favoritelist))
@if(count($favoritelist)> 0)
@php
foreach($favoritelist as $value){
$array[] = $value->project_id;
}
if (in_array($project->id, $array)){ @endphp
@php
}else{ @endphp
@php
}
@endphp
@else
@endif
@else
@endif
@foreach($users as $user)
@if($user->id == $project->inventor_id)
@if(!empty($user->name)){{ $user->name }}@endif @if(!empty($user->last_name)){{ $user->last_name }}@endif
@endif
@endforeach
@if(!empty($project->project_short_desc)){{$project->project_short_desc }}@endif
@endforeach
@else
No results Found
@endif