@extends("admin.layouts.sellermastersoyuz") @section('title',__('Your Orders')) @section('body') @component('seller.components.breadcumb',['secondactive' => 'active']) @slot('heading') {{ __('Your Orders') }} @endslot @slot('menu1') {{ __('Your Orders') }} @endslot @endcomponent
{{ __('Your Orders') }}
{!! $sellerorders->container() !!}
{{ __('All Orders') }}
@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 @endforeach
# {{ __('Order Type') }} {{ __('Order ID') }} {{ __('Total Qty') }} {{ __('Total Amount') }} #
{{ ++$orderkey }} @if($o->payment_method !='COD') @else @endif {{ $inv_cus->order_prefix.$o->order_id }}

{{ __('View Order') }} | {{__('Edit Order')}}
{{ $x->sum('qty') }} @infloat($total)
@endsection @section('custom-script') {!! $sellerorders->script() !!} @endsection