@extends('layouts.app') @section('title', 'Edit Finished Goods Stock') @section('content') Edit Finished Goods Stock @include('manufacturing.partials.navigation') Edit Batch: {{ $inventory->batch_number }} @csrf @method('PUT') Product * Select Product @foreach($products ?? [] as $product) product_id) == $product->id ? 'selected' : '' }}> {{ $product->product_code }} - {{ $product->name }} @endforeach @error('product_id') {{ $message }} @enderror Batch Number * Batch number cannot be changed Quantity Available * @error('quantity_available') {{ $message }} @enderror Quantity Reserved @error('quantity_reserved') {{ $message }} @enderror Reserved quantity (read-only) Unit Cost * @error('unit_cost') {{ $message }} @enderror Manufacturing Date @error('manufacturing_date') {{ $message }} @enderror Expiry Date @error('expiry_date') {{ $message }} @enderror Status status) == 'available' ? 'selected' : '' }}>Available status) == 'reserved' ? 'selected' : '' }}>Reserved status) == 'damaged' ? 'selected' : '' }}>Damaged status) == 'expired' ? 'selected' : '' }}>Expired @error('status') {{ $message }} @enderror Warehouse Location @error('warehouse_location') {{ $message }} @enderror Update Stock Cancel @endsection