@extends('layouts.app') @section('title', 'Products — InLynq') @section('heading', 'Products') @section('content') Things you've shipped: apps, tools, courses, physical products. @include('dashboard.partials.limit-note', ['count' => $products->count()]) @if ($canCreate) Add a product @else Upgrade for more products @endif @if ($products->isEmpty()) Show what you've shipped: apps, tools, courses, physical products. @else
@foreach ($products as $p)
{{ $p->name }} {{ collect([$p->category, $p->company?->name])->filter()->implode(' · ') ?: 'Independent' }}
@endforeach
@endif @endsection