@extends('layouts.app') @section('content')

Batch Management

Expiring Batches
@forelse($batches as $batch) @empty @endforelse
Batch Number Barcode GRN Number Supplier Manufacture Date Expiry Date Products Actions
{{ $batch->batch_number }} {{ $batch->barcode ?? '-' }} {{ $batch->goodReceiveNote->grn_number }} {{ $batch->goodReceiveNote->supplier->company_name }} {{ $batch->manufacture_date?->format('Y-m-d') ?? 'N/A' }} @if($batch->expiry_date) {{ $batch->expiry_date->format('Y-m-d') }} @else N/A @endif {{ $batch->stocks->count() }} item(s) View Details
No batches found.
{{ $batches->links() }}
@endsection