@extends("admin.layouts.sellermaster")
@section('title','Your Orders - ')
@section("body")
{!! $sellerorders->container() !!}
# |
Order Type |
Order ID |
Total Qty |
Total Amount |
# |
@foreach($emptyOrder as $key=> $o)
@php
$x = App\InvoiceDownload::where('order_id','=',$o->id)->where('vender_id',Auth::user()->id)->get();
$total = 0;
foreach ($x as $key => $value) {
$total = $total+$value->qty*$value->price+$value->tax_amount+$value->shipping+$value->handlingcharge;
}
@endphp
{{ $key+1 }} |
@if($o->payment_method !='COD')
@else
@endif
|
{{ $inv_cus->order_prefix.$o->order_id }}
View Order |
Edit Order
|
{{ $x->sum('qty') }} |
{{ $total }}
(Excl. of TAX & Shipping) |
|
@endforeach
@endsection
@section('custom-script')
{!! $sellerorders->script() !!}
@endsection