@extends('layouts.admin-layout') @section('title', 'All Orders ') @section('content')

All Orders

{{-- --}} {{-- --}} @foreach($get_orders as $order) {{-- --}} @endforeach
User Name Total Price Tracking No Order Status Detail ViewEditDelete
{{$order->user->name ? : ''}} {{$order->total_price ? : ''}} {{$order->tracking_no ? : ''}} @if(Auth::user()->hasRole('Admin'))
@csrf
@else

Status: {{ $order->order_status }}

@endif
Detail ViewDelete
@endsection @section('script') {{-- --}} @endsection