@if(!empty($search = request()->s)) @lang('Showing :total_orders pending orders with :per_page orders per page for keyword: :keyword', ['total_orders'=>$orders->total(), 'per_page'=>$orders->perPage(), 'keyword'=>$search])  Show all @else @lang('Showing :total_orders pending orders with :per_page orders per page', ['total_orders'=>$orders->total(), 'per_page'=>$orders->perPage()]) @endif @if(empty(request()->all))
@lang('Show pending orders in a single page') @else
@lang('Show pending orders with pagination') @endif
@can('delete', App\Order::class) {{csrf_field()}}
@endcan {{-- --}}
{{--
@lang('Advanced Search')
--}} @can('delete', App\Order::class) @endcan @if((Auth::user()->can('update', App\Order::class)) || (Auth::user()->can('delete', App\Order::class))) @endif @if($orders) @foreach($orders as $order) @can('delete', App\Order::class) @endcan @if((Auth::user()->can('update', App\Order::class)) || (Auth::user()->can('delete', App\Order::class))) @endif @endforeach @endif
@lang('Order No') @lang('Products') @lang('Total') @lang('Current Status') @lang('Status') @lang('Order Date') @lang('Login Type')@lang('Action')
{{$order->orderno}} @if($order->products)
    @foreach($order->products as $product)
  • {{$product->name}}
    • @lang('Qty:') {{$product->pivot->quantity}}
    • @lang('Total:') {{currency_format($product->pivot->total)}}
  • @endforeach
      @endif
{{currency_format($order->shipping_cost + $order->total - $order->coupon_amount + ($order->total * $order->tax) / 100)}} {{$order->is_processed ? '-' : $order->status}} @lang('Pending') {{$order->created_at}} {{ ucwords($order->checkout_type) }} Login @can('update', App\Order::class) @endcan   @can('delete', App\Order::class) @endcan
@if(!request()->all)
{{$orders->appends($_GET)->links()}}
@endif