@extends('layouts.admin') @section('title', 'Catalog & prices') @section('content') @use('App\Support\Money')

Catalog & prices

Nothing is orderable until a service and a priced product are both active. All changes are audited.

@foreach ($services as $s)

{{ $s->name }} ({{ $s->slug }})

@csrf @method('PUT')
@forelse ($s->products as $p) @empty@endforelse
CodeNameBase priceState
{{ $p->code }}{{ $p->name }}{{ $p->price === null ? '— not priced' : Money::format($p->price) }} {{ $p->is_active ? 'active' : 'inactive' }} Edit
No products.

Add product

@endforeach @endsection