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

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