@extends('layout.layout') @section('reporting','active') @section('content')

Scanned Product

@if(isset($products) && count($products) > 0) @foreach($products->unique('style_id') as $product)
{{ $product->style_id }} qty: {{ $products->where('style_id', $product->style_id)->count() }} {{-- {{ number_format((float) $allocatedMeters[$product->style_id], 2, '.', '') }}m --}} {{ number_format((float) ($allocatedMeters[$product->style_id] ?? 0), 2, '.', '') }}m
{{ $product->generic_article_description }}
@endforeach @else

Ready to Scan

Scan or search manually to add products

@endif
@if($isSubmitted) @else @endif
@endsection @section('javascript') {{-- --}} @endsection