@extends('layouts.app') @section('title', 'Edit Product') @section('content')

Edit Product

← Back to Products
@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
@error('sku')

{{ $message }}

@enderror
@error('barcode')

{{ $message }}

@enderror

Optional - for barcode scanning in POS

@error('product_type')

{{ $message }}

@enderror
@if($product->bundle_items) @foreach($product->bundle_items as $index => $item)
@endforeach @endif

Select products and quantities that make up this bundle

@error('price')

{{ $message }}

@enderror
@error('stock')

{{ $message }}

@enderror
track_inventory) ? 'checked' : '' }} class="rounded border-gray-300 dark:border-gray-600 dark:bg-gray-700 text-blue-600 focus:ring-blue-500">

Enable to enforce stock limits. Customers cannot purchase if out of stock.

@error('inventory_source')

{{ $message }}

@enderror
@error('warehouse_id')

{{ $message }}

@enderror @if(empty($warehouses))

No warehouses available. Please contact admin or use local stock.

@endif
@error('low_stock_threshold')

{{ $message }}

@enderror

Show "Limited Stock!" warning when stock is at or below this value.

@error('description')

{{ $message }}

@enderror
is_active) ? 'checked' : '' }} class="rounded border-gray-300 dark:border-gray-600 dark:bg-gray-700 text-blue-600 focus:ring-blue-500">
Cancel
@endsection