@if($message = Session::get('error')) @endif @if($message = Session::get('success')) @endif
{{ $cart_count }} Items in your cart
@php $sub_total=0; @endphp
Image
Asset Details
Price
Remove
@if($cart_details) @foreach($cart_details as $key => $cart_detail) @php $asset_detail= \App\Models\AssetDetails::where('id',$cart_detail->asset_id)->first(); @endphp
@php $currentassetid=$asset_detail->id; if($storeassetdetailsid == '') { $storeassetdetailsid=$asset_detail->id; } else { $storeassetdetailsid.=','.$asset_detail->id; } $assetthumbnailmmagedisplays=\App\Models\AssetThumbnailImages::select('thumbnailimages')->where('asset_id',$currentassetid)->get(); @endphp

{{ $asset_detail->asset_name }}


@php $userdetails=\App\Models\User::select('name')->where('id', $asset_detail->asset_user_id)->first(); @endphp
{{ $userdetails->name }}
@php echo $money = \App\Http\Controllers\frontend\AssetDetailsController::displayassetprice($asset_detail->id); @endphp
@php $sub_total=$sub_total+\App\Http\Controllers\frontend\AssetDetailsController::cartassetprice($asset_detail->id); @endphp @endforeach @endif
Subtotal ({{ $cart_count }} items): {{ $sub_total }}
   
Subtotal ({{ $cart_count }} items)

{{ $sub_total }}

Secure checkout:
@php if(auth()->user()) { @endphp
@csrf
@php } else { @endphp Proceed To CheckOut @php } @endphp