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

SUPPLIER WISE SALES POSITION

Refrsh
@php $count=0; $total=0; $total_purchase=0; $total_discount=0; $total_tax=0; @endphp @foreach($results as $result) @php $sell_stock=DB::table('transaction_sell_lines_purchase_lines as tslpl') ->join('transaction_sell_lines as tsl','tsl.id','=','tslpl.sell_line_id') ->where('tslpl.purchase_line_id',$result->id) ->sum('tslpl.quantity'); @endphp @endforeach
Suuplier :
Barcode Product Purchase Qty Sell Qty CPU RPU Discount Vat Total Sale Total Purchase
{{ $result->sku}} {{ $result->name}} ({{$result->id}}) {{ $result->quantity ?? 0}} {{ $sell_stock ?? 0}}

{!! urldecode(str_replace("/?","?",$results->appends(Request::all())->render())) !!}

@stop @section('javascript') @endsection