@extends('layout.admindashboard') @section('content')

Orders

Orders

@foreach ($orders->sortByDesc('created_at') as $order) alt="" width="30"> @endforeach
# Image Order ID Name Status Change Status Quantity Price Order Date Ordered By Email Phone Address ID
{{ $loop->iteration }} Product Image {{ $order->order_id }} {{ $order->productdetails?->product?->name }} {{ $order->status }} Change Status {{ $order->quantity }} * {{ $order->productdetails?->size }} {{ $order->productdetails?->offerprize }} {{ $order->created_at->format('d-m-Y') }} {{ $order->user->name }} {{ $order->user->email }} {{ $order->user->phone }} {{ $order->useraddress_id }}
@endsection