@extends('layouts.app') @section('title', 'Manufacturing Batches') @section('content')
Production batch management, planned vs actual output, and individual QR unit serialization.
| Batch Details | Product | Production Progress | Mfg / Exp Date | Operator | Status | Actions |
|---|---|---|---|---|---|---|
|
{{ $batch->batch_number }}
ID #{{ $batch->id }} • {{ $batch->created_at->format('d M Y') }}
|
{{ $batch->product->name }}
{{ $batch->product->sku }}
|
{{ number_format($batch->actual_quantity) }} / {{ number_format($batch->planned_quantity) }}
{{ $percentage }}%
|
Mfg: {{ $batch->manufacturing_date->format('d M Y') }}
Exp: {{ $batch->expiry_date->format('d M Y') }}
|
{{ $batch->production_operator ?? 'Not assigned' }}
@if($batch->productionRecords_count > 0)
{{ $batch->productionRecords_count }} counting updates
@endif
|
@if($batch->status === 'Draft') Draft @elseif($batch->status === 'In Production') In Production @elseif($batch->status === 'Completed') Completed @elseif($batch->status === 'Under Verification') Under Verification @elseif($batch->status === 'Closed') Closed @endif | |
No manufacturing batches foundNo batches match the selected criteria or no production run has been initiated yet. @can('create', App\Models\ProductBatch::class) Create First Batch @endcan |
||||||