@extends('layouts.app') @section('title', $product->exists ? 'Edit Product' : 'New Product') @php $restaurantDepartmentId = $departments->firstWhere('slug', 'restaurant')?->id; $restaurantCategories = $categories->where('department_id', $restaurantDepartmentId)->values(); $singleBranchId = (int) session('active_branch_id'); @endphp @section('content')

{{ $product->exists ? 'Edit product' : 'New Product' }}

Choose the preparation department for this hotel menu item. Product stock is managed through recipes and ingredients.

@csrf @if ($product->exists) @method('PUT') @endif
{{ \App\Models\Department::nameFor('restaurant', 'Restaurant') }}: menu item — choose its preparation section below. Stock, buying cost and reorder control come from ingredients/recipes.

Optional.

Orders for this product will be routed to the selected preparation display or printer.

@if ($product->image_path) @endif
{{ \App\Models\Department::nameFor('restaurant', 'Restaurant') }} menu item: no stock quantity, buying price or reorder level is required here. The recipe consumes ingredient stock automatically when the item is sold/produced.
Cancel
@endsection