@php($title = 'Download History') @php($heading = 'Your Downloads') @php($sidebar = view()->make('dashboard.partials.customer-sidebar')->render()) @extends('layouts.dashboard', compact('title','heading','sidebar')) @section('content')

Recent downloads

Browse products
@php($items = collect($downloads ?? [])) @if($items->isEmpty())

No downloads yet. Start exploring products and categories.

@else
@foreach($items as $d) @php( $date = $d->created_at ?? $d->downloaded_at ?? null ) @endforeach
Date Product Version Category IP
{{ $date ? \Illuminate\Support\Carbon::parse($date)->format('Y-m-d H:i') : '—' }} @php($pid = $d->product_id ?? null) @php($slug = $d->product_slug ?? null) @php($name = $d->product_name ?? null) @if($slug) {{ $name ?? $slug }} @elseif($pid) #{{ $pid }} @else {{ $name ?? '—' }} @endif {{ $d->product_version ?? '—' }} {{ $d->category_slug ?? ($d->category ?? '—') }} {{ $d->ip ?? '—' }}
@endif
@endsection