@php $check_favourite_asset=''; if(auth()->user()) { $check_favourite_asset= \App\Models\FavouriteAsset::where('asset_id',$asset_detail->id)->where('customer_id',auth()->user()->id)->where('status','1')->count(); } @endphp @if($check_favourite_asset == 1) @elseif($check_favourite_asset == 0) @else @endif
@if($asset_detail->verified_id == 1)

  Verified

@else

 

@endif
@php $count_favourite_asset= \App\Models\FavouriteAsset::where('asset_id',$asset_detail->id)->where('status','1')->count(); @endphp

ID:{{ $asset_detail->asset_id }}

@for ($starcount=0 ; $starcount<5; $starcount++) @if($starcount<=$asset_detail->starrating) @else @endif @endfor (0) | ({{ $count_favourite_asset }})
@php $actordetails=\App\Models\ActorController::select('name','slug')->where('id', $asset_detail->userid)->first(); @endphp
{{ $actordetails->name }}
${{ $asset_detail->cost }} ({{ $asset_detail->offer_price }}) | Offer {{ $asset_detail->offer_discount }}%
@if(Auth::check()) @else @endif