@include('admin.header', [ 'title' => $batch->exists ? 'Edit Batch' : 'Add Batch', 'active' => 'certifications', 'searchPlaceholder' => 'Search batches, products, lab reports...' ])

{{ $batch->exists ? 'Edit Batch' : 'Add Batch' }}

Sold-out batches stay in admin history and disappear from the frontend.

Back
@csrf @if ($batch->exists) @method('PATCH') @endif

Batch Details

@error('batch_number')
{{ $message }}
@enderror
@error('product_id')
{{ $message }}
@enderror
@error('product_type')
{{ $message }}
@enderror
@error('title')
{{ $message }}
@enderror
@error('production_date')
{{ $message }}
@enderror
@error('initial_quantity')
{{ $message }}
@enderror
@error('remaining_quantity')
{{ $message }}
@enderror
@error('quantity_unit')
{{ $message }}
@enderror
is_active ?? true))>
Cancel
@include('admin.footer')