@extends('Kitchen.layout') @section('content')
| Sno | Category | Product Name | Product Id | Batch | Stock (this batch) | Packed Date | Expiry Date | Status |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $batch->product->category?->category ?? '-' }} | {{ $batch->product->product_name ?? '-' }} | {{ $batch->product->product_id ?? '-' }} | Batch {{ $batch->batch_number }} | {{ $batch->stock }} | {{ $batch->packed_date ? \Carbon\Carbon::parse($batch->packed_date)->format('d-m-Y') : '-' }} | {{ \Carbon\Carbon::parse($batch->expiry_date)->format('d-m-Y') }} | {{ $statusText }} |
| No batches with expiry date set. | ||||||||