@extends('admin.layouts.app') @section('page-title') Orders @endsection @section('content')

All Orders List

@foreach ($orders as $order) @endforeach
Order ID Customer Date Total Amount Status Payment Method
Action
{{ $order->id }} @if ($order->trashed()) deleted @endif @if ($order->user) {{ $order->user->firstname }} {{ $order->user->lastname }} @if ($order->user->trashed()) deleted @endif @else Utilisateur inconnu @endif {{ $order->created_at->format('d M Y') }} {{ $order->final_amount }} € {{ $order->status->label() }} {{ $order->payment_method }}
{{ $orders->links() }}
@endsection @section('scripts') @endsection