@extends('user.layouts.layout') @section('content')
@foreach($recentviews_assets as $key => $recentviews_asset) @php $asset_detail= \App\Models\AssetDetails::where('id',$recentviews_asset->asset_id)->first(); @endphp
@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 }}%
@endforeach
@endsection