@extends('layouts.app') @section('content')

Order Numbers

Manage all orders in the system

@forelse($orders as $order) @empty @endforelse
Order Number Station Employee Date Amount Status Actions
{{ $order->order_number }}
@if($order->description) {{ $order->description }} @endif
{{ $order->station->name }} {{ $order->employee_name }} {{ $order->order_date->format('M d, Y') }} @if($order->total_amount) ${{ number_format($order->total_amount, 2) }} @else - @endif {{ ucfirst(str_replace('_', ' ', $order->order_status)) }}
@csrf @method('DELETE')
No orders found.
@if($orders->hasPages()) @endif
@endsection