@extends('admin.layouts.app') @section('page-title') Orders @endsection @section('content')
| 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 }} |