@extends('backEnd.layouts.master') @section('title','Customer Manage') @section('content')
@if(isset($orders) && $orders->count())
Search Results ({{ $orders->count() }} orders found)
@foreach($orders as $order) @endforeach
SL Invoice Date Product Name Phone Assign Amount Status Note IP
{{ $loop->iteration }}
{{ $order->created_at->format('d-m-Y') }} @foreach ($order->orderdetails as $details)
{{ $details->product_name }} @if($details->product_color)
Color: {{ $details->product_color }} @endif @if($details->product_size)
Size: {{ $details->product_size }} @endif

@endforeach
{{$order->shipping?$order->shipping->name:''}}

{{$order->shipping?$order->shipping->address:''}}

{{$order->shipping?$order->shipping->phone:''}}
{{$order->user?$order->user->name:''}} Sub Total: {{$order->amount - $order->shipping_charge}}
Shipping Cost: {{ $order->shipping_charge }}
Discount: {{ $order->discount }}
Payment: 0
Total Collectables: {{ $order->amount }}
Total Amount: {{ $order->amount }}
{{$order->status?$order->status->name:''}} {{$order->admin_note?$order->admin_note:''}} {{$order->ip_address?$order->ip_address:''}}
@elseif(request('keyword'))

No orders found for "{{ request('keyword') }}"

@endif
@endsection