| Suuplier : |
|
| Barcode |
Product |
Purchase Qty |
Sell Qty |
CPU |
RPU |
Discount |
Vat |
Total Sale |
Total Purchase |
@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
| {{ $result->sku}} |
{{ $result->name}} ({{$result->id}}) |
{{ $result->quantity ?? 0}} |
{{ $sell_stock ?? 0}} |
@endforeach
{!! urldecode(str_replace("/?","?",$results->appends(Request::all())->render())) !!}