@extends('user.layouts.header') @section('styles') @endsection @section('content') @if(!empty($favorites))

Watchlist

@if(count($projects) > 0) @foreach($projects as $project) @if(in_array($project->id, $favorites)) @php $ide = Crypt::encrypt($project->id); @endphp
@foreach($users as $user) @if($user->id == $project->inventor_id) @php $idu = Crypt::encrypt($user->id); @endphp
{{ $user->name }} {{ $user->last_name }} @if(!empty( $user->contact_no)) {{ $user->contact_no }} @endif
@else @endif @endforeach

{{ $project->project_short_desc }}

@endif @endforeach @endif
@else

Oops!

You haven't added any projects to the wishlist yet!

@endif @endsection @section('scripts') @endsection