@extends('layouts.master') @section('css') @endsection @section('title') Batch Count Report @endsection @section('content')

Batch Count Report

@if (session('success')) @endif @if (Session::has('error')) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach ($data as $batchCount => $items) @endforeach
Batch Count Type Items Count Items
{{ $batchCount }} {{ $items->count() }} @foreach ($items as $item) @php $name = App\Models\StockItem::where('id', $item)->first()->name; @endphp

* {{ $name }} ,  

@endforeach
@endsection @section('script') @endsection