@extends('admin.layouts') @section('title', 'Recent Orders') @section('header') @endsection @section('content')

View Recent Orders

@foreach ($recent_orders as $recent_order) @endforeach
S/N ORDER DATE BILL ID USER DETAILS PRODUCT DETAILS AMOUNT ADDRESS INSTRUCTION
{{ $loop->iteration }} {{ \Carbon\Carbon::parse($recent_order->order_date)->format('d-m-Y') }} {{ $recent_order->order_random_id }}
{{ $recent_order->user_name }}
{{ $recent_order->user->phone_number }}
{{ $recent_order->user->email}}

Product Name:{{ $recent_order->product_details_name ?? 'N/A' }}

Category:{{ $recent_order->category_name ?? 'N/A' }}

SubCategory:{{ $recent_order->subcategory_name ?? 'N/A' }}

{{ $recent_order->amount }} {{ $recent_order->delivery_address }} {{ $recent_order->instruction }}
@endsection @section('footer') @endsection