@extends('layouts.app') @section('content')
@include('layouts.includes.header')
@if (session('success'))
{{ session('success') }}
@endif @if (session('warning'))
{{ session('warning') }}
@endif

Order

@include('layouts.shipping.bar')
@if($orders->count()) @foreach($orders as $value) @if($value->ndr_reattempts < 4) @else @endif @endforeach @else @endif
Ndr Raised
Channel

Search By Channel

{!! Form::open(array('url'=>URL::current(),'method' => 'GET')) !!}
{!! Form::close() !!}
Order ID

Search By Order ID

Status {{--

Filter By Status

{!! Form::open(array('url'=>URL::current(),'method' => 'GET')) !!}
{!! Form::close() !!}
--}}
Product Details
Payment
Customer details
Shipping Detail

Search By Courier

Pending Since
Escalation Status
Non Delivery Info
Action
{{$value->ndr_initiated_date}} @php $icon = getIcon($value->store_type); @endphp @if($icon)
@endif {{$value->store_name}}
@php $products = fetch_orders_products($value->id); $countProducts = count($products) - 1; $i = 0; @endphp @forelse ( $products as $info) @if($i == 0) Name: {!! substr(strip_tags($info['name']), 0, 22) !!}.. SKU: {{$info['sku']}} Qty: {{$info['quantity']}}

{{ $countProducts != 0 ? "+ ".$countProducts." More Products" : '' }}

@else Name: {!! substr(strip_tags($info['name']), 0, 30) !!}.. SKU: {{$info['sku']}} Qty: {{$info['quantity']}}
@endif @if($i == $countProducts)
@endif @php $i++; @endphp @endforeach
{{$value->total}} {{$value->payment_method}} {{$value->shipping_name}} {!! substr(strip_tags($value->shipping_email), 0, 22) !!}.. {{$value->shipping_phone}} @php $addr = getpickupAddress($value->pickup_location_id); @endphp Courier: {{$value->courier_company}} AWB No.: {{$value->awb_code}} {{ diffranceTwodates($value->ndr_initiated_date) }} No Data{{$value->ndr_reattempts}} Attempt(s) No Data

Show items per page

{{$orders->links('layouts.pagination.default',['paginator' => $orders])}}
@include('layouts.includes.footer')
@endsection