@php $currentstoreassetid=$asset_detail->id; $currentassetid=$asset_detail->id; $currentassetversioncount=$asset_detail->versioncount; $assetuserid=$asset_detail->userid; $assetthumbnailmmagedisplays=\App\Models\AssetThumbnailImages::select('thumbnailimages')->where('asset_id',$currentassetid)->where('asset_version_count',$currentassetversioncount)->get(); @endphp

ID:{{ $asset_detail->asset_id }}

@if($asset_detail->verified_id == '1')

Asset Verified

@endif

{{ $asset_detail->asset_name }}

@php $user_detail= \App\Models\User::select('name')->where('id',$asset_detail->userid)->first(); @endphp {{ $user_detail->name }}
@for ($starcount=0; $starcount<5; $starcount++) @if($starcount<$asset_detail->starrating) @else @endif @endfor (15)({{ $asset_detail->reviewcount }}) @php $count_favourite_asset= \App\Models\FavouriteAsset::where('asset_id',$asset_detail->id)->where('status','1')->count(); @endphp ({{ $count_favourite_asset }})
@php echo $money = \App\Http\Controllers\AssetDetailsController::displayassetprice($asset_detail->id); @endphp

@php $countorderdetails=0; if(auth()->user()) { $userid=auth()->user()->id; $countorderdetails= \App\Models\Orderdetails::where('user_id',$userid)->where('asset_id',$asset_detail->id)->count(); } @endphp
{{-- --}}
{{-- --}}
@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) @else @endif
@php $displayfilesize=''; $displayfiletype=''; $assetardisplays=\App\Models\AssetARFile::where('asset_id',$currentassetid)->where('asset_version_count',$currentassetversioncount)->get(); foreach($assetardisplays as $assetardisplay) { if($displayfilesize == '') { $displayfilesize .=$assetardisplay->filesize; } else { $displayfilesize .=','.$assetardisplay->filesize; } if($displayfiletype == '') { $displayfiletype .=$assetardisplay->filetype; } else { $displayfiletype .=','.$assetardisplay->filetype; } } @endphp
File Size {{ $displayfilesize }}
File Type {{ $displayfiletype }}
Release Date June 24, 2026
Revision Date June 24, 2026