Product Report

Generated on: {{ $generated_at }}

@if(!empty($filters))
Applied Filters: @foreach($filters as $key => $value) @if(!empty($value) && $key != '_token' && $key != 'export_type') {{ ucfirst(str_replace('_', ' ', $key)) }}: {{ $value }} | @endif @endforeach
@endif @if(count($data) > 0) @php $totalStock = 0; $totalSold = 0; $totalRemaining = 0; @endphp @foreach($data as $row) @php $totalStock += $row['Total Stock']; $totalSold += $row['Sold Quantity']; $totalRemaining += $row['Remaining Stock']; @endphp @endforeach
# Product Name Category Sub Category Supplier/Vendor Type Total Stock Sold Remaining Created Date
{{ $row['#'] }} {{ $row['Product Name'] }} {{ $row['Category'] }} {{ $row['Sub Category'] }} {{ $row['Supplier/Vendor'] }} {{ $row['Product Type'] }} {{ number_format($row['Total Stock']) }} {{ number_format($row['Sold Quantity']) }} {{ number_format($row['Remaining Stock']) }} {{ $row['Created Date'] }}
Totals: {{ number_format($totalStock) }} {{ number_format($totalSold) }} {{ number_format($totalRemaining) }}
@else

No data found for the selected filters.

@endif