Stock Summary
Warehouse = [{{ request('warehouse_id') ? App\Models\Warehouse::find(request('warehouse_id'))->name : 'ALL' }}]
@if(request('item_category_id'))
, Category = [{{ App\Models\Items\ItemCategory::find(request('item_category_id'))->name }}]
@endif
@if(request('brand_id'))
, Brand = [{{ App\Models\Items\Brand::find(request('brand_id'))->name }}]
@endif
@foreach($brands as $brand)
@php $totalBrandQty += $item->total_quantity; @endphp
@endforeach
@endforeach
{{ $brand->name }}
@php $totalBrandQty = 0; @endphp
@foreach($brand->items as $item)
{{ $item->name }}
{{ number_format($item->total_quantity, 0) }}
@if(request('brand_id') && $item->tracking_type == 'serial' && $item->itemSerialQuantities->count() > 0)
@foreach($item->itemSerialQuantities as $sq)
{{ $sq->itemSerialMaster->serial_code }}
@endforeach
@endif
Category Total =
{{ number_format($totalBrandQty, 0) }}
Printed on: {{ date('d/m/Y H:i') }}