@extends('layouts.admin') @section('title', 'Fragrances · Aromaniacs ERP') @section('overline', 'Catalog') @section('heading', 'Fragrances') @section('content')
@if ($search !== '' || $brandId) @endif
@if ($fragrances->isEmpty())

No fragrances found.

Create a fragrance to continue catalog setup.

@else @if ($errors->any())
@endif
@csrf

Use the checkboxes in the table, then pick an action. Only selected rows are updated.

@foreach ($fragrances as $fragrance) @endforeach
Fragrance Brand Meta New Best Featured Status Actions
{{ $fragrance->name }}
{{ $fragrance->name }}
{{ $fragrance->slug }}
{{ $fragrance->brand->name }} {{ strtoupper((string) $fragrance->concentration?->value ?? '-') }} · {{ ucfirst((string) $fragrance->gender?->value ?? '-') }} · {{ $fragrance->release_year ?? '-' }}
@csrf @method('PATCH')
@csrf @method('PATCH')
@csrf @method('PATCH')
@if ($fragrance->is_active)
@csrf @method('PATCH')
@else Hidden @endif
@csrf @method('PATCH')
@csrf @method('DELETE')
{{ $fragrances->links() }}
@endif
@endsection