@extends('layouts.app') @section('title', 'Edit Batch - ' . $batch->batch_number) @section('content')

Edit Batch: {{ $batch->batch_number }}

Update production targets, schedule, and operator assignments.

@if($batch->isClosed())
This batch is Closed. Closed batches cannot be edited or modified directly.
@else
@csrf @method('PUT')
Batch Identification & Master Product
@error('batch_number')
{{ $message }}
@enderror
@error('product_id')
{{ $message }}
@enderror
Production Scheduling & Validity
@error('planned_quantity')
{{ $message }}
@enderror
@error('actual_quantity')
{{ $message }}
@enderror
@error('manufacturing_date')
{{ $message }}
@enderror
@error('expiry_date')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
@error('production_operator')
{{ $message }}
@enderror
@error('production_start_at')
{{ $message }}
@enderror
@error('notes')
{{ $message }}
@enderror
Cancel
@endif @endsection