{{ __('Stock Report') }}

{{-- --}} @forelse($products as $product) @php $qty = (float) ($product->quantity ?? 0); $purUnit = (float) ($product->purchase_rate ?? 0); $saleUnit = (float) ($product->sale_rate ?? 0); $rowPurchaseTotal = $qty * $purUnit; $rowSaleTotal = $qty * $saleUnit; $unitName = $product->unit?->display_name ?? __('Unit'); @endphp {{-- --}} @empty @endforelse
{{ __('Product Name') }} {{ __('Stock') }} {{ __('Unit') }} {{ __('Barcode') }} {{ __('Purchase Price (Rs)') }} {{ __('Sale Price (Rs)') }}Image
{{ $product->name }} {{ __('Purchase:') }} Rs {{ number_format($purUnit, 2) }} {{ __('Sale:') }} Rs {{ number_format($saleUnit, 2) }}
{{ number_format($qty, 2) }} {{ $unitName }} {{ $product->barcode_number ?? __('N/A') }} {{ number_format($rowPurchaseTotal, 2) }} {{ number_format($rowSaleTotal, 2) }} @if(!empty($product->product_image)) {{ $product->name }} @else {{ __('N/A') }} @endif
Koi product match nahi hua.
{{ __('Totals:') }} {{ number_format($totalPurchaseValue, 2) }} {{ number_format($totalSaleValue, 2) }}
{{ $products->links() }}