@extends('layouts.app') @section('title', 'Edit Product: ' . $product->name) @section('content')
Edit Product: {{ $product->name }}
@csrf @method('DELETE')
Edit Product Details
@csrf @method('PUT')
@error('code')
{{ $message }}
@enderror
@error('name')
{{ $message }}
@enderror
@error('category')
{{ $message }}
@enderror
@error('brand')
{{ $message }}
@enderror
@error('unit_of_measure')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('unit_price')
{{ $message }}
@enderror
@error('reorder_level')
{{ $message }}
@enderror
Leave empty to keep current image. Max 2MB.
@if($product->image)
Current Image
@endif @error('image_file')
{{ $message }}
@enderror
is_active ? 'enabled' : 'disabled') == 'enabled' ? 'checked' : '' }}>
is_active ? 'enabled' : 'disabled') == 'disabled' ? 'checked' : '' }}>
@error('status')
{{ $message }}
@enderror
Modification Log

This product was created on {{ $product->created_at->format('Y-m-d') }}.

Last updated {{ $product->updated_at->diffForHumans() }}.


Impact Analysis

Adjusting the Unit Price will affect all pending delivery notes and future budget recalculations.

Changing the SKU might break historical data connections if external tracking systems are used.

@endsection @push('js') @endpush