@extends('crm.layouts.app') @section('title', 'Gallery Management') @section('content')

Gallery Management

Manage your {{ $type === 'designs' ? 'flash designs' : 'portfolio pieces' }} and showcase your work.

@if(request()->hasAny(['search', 'artist', 'style', 'status'])) @endif
@if($items->count() > 0)
@foreach($items as $item)
{{ $item->title }}

{{ $item->title }}

{{ $item->artist->name }}

@if($item->isDesign())
{{ $item->view_count }} views • {{ $item->booking_count }} bookings
@endif
Edit @if($item->isDesign())
@csrf @method('PATCH')
@else
@csrf @method('PATCH')
@endif
@csrf @method('DELETE')
@endforeach
{{ $items->appends(request()->query())->links() }}
@else

No items found

Get started by creating a new {{ $type === 'designs' ? 'design' : 'portfolio piece' }}.

@endif
@endsection