@extends('admin.layouts.app') @section('title', 'Purchase Vs Sales Report') @section('page_title', 'Purchase Vs Sales Report') @section('content')
| Sl No | Product Name | Shipment No | Purchase Qty | Sale Qty | Wastage Qty | Purchase Return | Sales Return | Stock in Hand | Purchase Amount | Sale Amount | Profit/Loss |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $sl++ }} | {{ $row['product_name'] }} | {{ $row['shipment_number'] }} | {{ number_format($row['purchase_qty'], 2) }} | {{ number_format($row['sale_qty'], 2) }} | {{ number_format($row['wastage_qty'], 2) }} | {{ number_format($row['purchase_return_qty'], 2) }} | {{ number_format($row['sale_return_qty'], 2) }} | {{ number_format($row['stock_in_hand'], 2) }} | {{ number_format($row['purchase_amount'], 2) }} | {{ number_format($row['sale_amount'], 2) }} | {{ number_format($row['profit'], 2) }} |
| No data found for selected date range | |||||||||||
| Total: | {{ number_format($totalPurchaseQty, 2) }} | {{ number_format($totalSaleQty, 2) }} | {{ number_format($totalWastageQty, 2) }} | {{ number_format($totalPurchaseReturnQty, 2) }} | {{ number_format($totalSaleReturnQty, 2) }} | {{ number_format($totalStockInHand, 2) }} | {{ number_format($totalPurchaseAmount, 2) }} | {{ number_format($totalSaleAmount, 2) }} | {{ number_format($grossProfit, 2) }} | ||