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

No SKUs found.

Create fragrances and decant sizes to generate SKUs automatically.

@else @foreach ($skus as $sku) @endforeach
SL. Thumb SKU Fragrance Brand Size Storefront Price Price Override Status Actions
{{ ($skus->firstItem() ?? 1) + $loop->index }} @if ($sku->effectiveImageUrl(false)) {{ $sku->code }} thumbnail @else @endif {{ $sku->code }} {{ $sku->fragrance->name }} {{ $sku->fragrance->brand->name }} {{ $sku->decantSize->label }} @if ($sku->storefront_price !== null) ৳ {{ number_format((float) $sku->storefront_price, 2) }} @else @endif @if ($sku->price_override !== null) {{ number_format((float) $sku->price_override, 2) }} @else Auto @endif @if ($sku->is_active) Active @else Hidden @endif
@csrf @method('PATCH')
{{ $skus->links() }}
@endif
@endsection