@extends('layouts.admin') {{-- या minimal layout --}} @section('content')

Stock Report

From: {{ $fromDate }} To: {{ $toDate }}

@if ($item)

Item: {{ $item }}

@endif @if ($brand)

Brand: {{ $brand }}

@endif @if ($part_no)

Part No: {{ $part_no }}

@endif
@foreach ($stock as $row) {{-- Main Part Number Row (highlight for print & screen) --}} {{-- Detail Rows --}} @if (!empty($row['items'])) @foreach ($row['items'] as $item) @endforeach @endif @endforeach
Description Part No Op. Qty Op. Alt Qty Op. Val Pr. Qty Pr. Alt Qty Pr. Val Sale Qty Sale Alt Qty Sale Val Cl. Qty Cl. Alt Cl. Val
{{ $row['item_name'] }} {{ $row['product_part_no'] }} {{ $row['opQty'] }} {{ $row['opAltQty'] }} {{ $row['opVal'] }} {{ $row['purQty'] }} {{ $row['purAltQty'] }} {{ $row['purVal'] }} {{ $row['salQty'] }} {{ $row['salAltQty'] }} {{ $row['salVal'] }} {{ $row['clQty'] }} {{ $row['clAltQty'] }} {{ $row['clVal'] }}
{{ $item['product_name'] }} {{ $item['barcode'] }} {{ $item['opQty'] ?? '-' }} {{ $item['opAltQty'] ?? '-' }} {{ $item['opVal'] ?? '-' }} {{ $item['purQty'] ?? '-' }} {{ $item['purAltQty'] ?? '-' }} {{ $item['purVal'] ?? '-' }} {{ $item['salQty'] ?? '-' }} {{ $item['salAltQty'] ?? '-' }} {{ $item['salVal'] ?? '-' }} {{ $item['clQty'] ?? '-' }} {{ $item['clAltQty'] ?? '-' }} {{ $item['clVal'] ?? '-' }}
@endsection