@extends("admin.layouts.sellermastersoyuz") @section('title',__('All Orders')) @section('body') @include('admin.layouts.topbar',$data)
| # | {{ __('Order Type') }} | {{ __('Order ID') }} | {{ __('Total Qty') }} | {{ __('Total Amount') }} | # | @foreach($emptyOrder as $orderkey=> $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->gift_charge+$value->shipping+$value->handlingcharge; } @endphp
|---|---|---|---|---|---|
| {{ ++$orderkey }} | @if($o->payment_method !='COD') @else @endif | {{ $inv_cus->order_prefix.$o->order_id }} {{ __('View Order') }} | {{__('Edit Order')}} | {{ $x->sum('qty') }} | @infloat($total) |