@include('frontend.header') @include('frontend.navbar')
<- Back to quality reports
Batch {{ $batch->batch_number }}

{{ $batch->title ?: $batch->productLabel() }}

Product
{{ $batch->productLabel() }}
Available Quantity
{{ number_format((float) $batch->remaining_quantity, 2) }} {{ $batch->quantity_unit }}
Production Date
{{ optional($batch->production_date)->format('d M Y') ?: 'Not specified' }}
@forelse ($batch->activeLabReports as $report)
{{ $report->report_type }}

{{ $report->title }}

{{ $report->laboratory_name ?: 'Laboratory not specified' }} @if ($report->tested_at) - Tested {{ $report->tested_at->format('d M Y') }} @endif

Active Report
@empty
No active reports for this batch
@endforelse
@include('frontend.footer') @include('frontend.floating-whatsapp') @include('frontend.scripts')