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

All Orders

{{-- --}} {{-- --}} @foreach($get_orders as $order) {{-- --}} @endforeach
S.N. User Name Total Price Tracking No Order Status Detail ViewEditDelete
{{ $loop->iteration }} {{$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