@extends('layouts.app') @section('content')
@include('layouts.includes.header')

Billing

@include('layouts.billing.billing-top-bar.bar')
@php $daterange = explode(' - ', $daterange_fltr); @endphp
@if($orders->count()) @foreach($orders as $value) @endforeach @else @endif
Order #
Channel

Search By Channel

Order Details

Search By SKU

{{--

Filter By Status

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

Search By Courier

Entered Weight & Dimensions
Charged Weight & Dimensions
Status
Actions
{{$value->order_number}} @php $icon = getIcon($value->store_type); @endphp @if($icon)
@endif {{ucfirst($value->store_name)}}
@php $products = fetch_orders_products($value->order_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, 22) !!}.. SKU: {{$info['sku']}} Qty: {{$info['quantity']}}
@endif @if($i == $countProducts)
@endif @php $i++; @endphp @endforeach
Rs. {{number_format($value->total, 2)}} AWB: {{$value->awb_code}} Courier: {{$value->courier_company}} Weight: {{$value->total_weight}} Dimensions: {{$value->total_length}}x{{$value->total_width}}x{{$value->total_height}} Vol wt: {{$value->vol_weight}} Applied Amount: {{$value->applied_charges + $value->cod_charges}} Weight: {{$value->charged_weight}} @if($value->charged_length && $value->charged_width && $value->charged_height) Dimensions: {{$value->charged_length}} x {{$value->charged_width}} x {{$value->charged_height}} cm @endif Charged Amount: {{$value->charged_amount}} @if($value->status == 1) Discrepancy @elseif($value->status == 2) Dispute Raised @elseif($value->status == 3) Discrepancy Accepted @elseif($value->status == 4) Dispute Rejected by Courier @elseif($value->status == 5) Dispute Accepted by Courier @elseif($value->status == 6) Auto Accept @elseif($value->status == 7) SR Credit @endif @if($value->status > 1) @php $img = (explode("," ,$value->image)); for($i = 0; $i <= (count($img)-2); $i++){ if($i ==0){ $totel_image = Get_image($img[$i]); }else{ $totel_image = $totel_image.', '.Get_image($img[$i]); } } @endphp Show History @else @php $applied_caheges_deduct =$value->applied_charges + $value->cod_charges; $deduct_amount = $value->charged_amount - $applied_caheges_deduct; @endphp Accept @endif

Show items per page

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