@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
# |
{{ __('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)
|
|
@endforeach
@endsection
@section('custom-script')
{!! $sellerorders->script() !!}
@endsection