@extends('layouts.app') @section('title', __( 'Supplier Product Sell' )) @section('content')

Supplier Wise Product Sell Report

EXcel
Refresh
@php $total_discount=0; $total_tax=0; $total_sell_quantity=0; $total_return_quantity=0; $total_purchase_price=0; $total_sell_price=0; $total_return_price=0; $total_net_sell_price=0; @endphp @foreach($results as $item) @if($item->sell_qty) @php $total_sell_quantity +=$item->sell_qty; $total_return_quantity +=$item->return_qty; $total_sell_price +=$item->sell_price; $total_purchase_price +=$item->purchase_price; $total_return_price +=$item->return_price; $total_net_sell_price +=($item->sell_price); $total_discount +=$item->discount_price; $total_tax +=$item->tax_price; @endphp @endif @endforeach
Supplier Name Sell Qty Return Qty Purchase Amount Sale Amount Discount Vat Return Amount Net Sale Gross Profit
{{$sup}} {{number_format($total_sell_quantity,2)}} {{number_format($total_return_quantity,2)}} {{number_format($total_purchase_price,2)}} {{number_format($total_sell_price,2)}} {{number_format($total_discount,2)}} {{number_format($total_tax,2)}} {{number_format($total_return_price,2)}} {{number_format($total_net_sell_price,2)}} {{number_format(($total_net_sell_price )- $total_purchase_price,2)}}
@stop @section('javascript') @endsection