@if(session()->has('message')) @php echo ''; @endphp @endif @extends('layouts.app', [ 'class' => '', 'elementActive' => 'orders' ]) @section('content') @error('state') @php echo ''; @endphp @enderror @error('city') @php echo ''; @endphp @enderror @error('area') @php echo ''; @endphp @enderror @push('scripts') @endpush
Orders
@push('scripts') @endpush @foreach($orders as $order) @endforeach
S NO Email Brand Quantity Price Location Status
{{ $order->id }} {{ $order->email }} {{ $order->brands }} {{ $order->quantity }} {{ $order->price }} @php $locationData = json_decode($order->location); @endphp Country: {{ $locationData->country }}
State: {{ $locationData->state }}
City: {{ $locationData->city }}
Area: {{ $locationData->area }}
@endsection @push('scripts') @endpush