@extends('layouts.app') @section('title', 'Order ' . $order->order_number) @section('content')

Order Summary

{{ ucfirst(str_replace('_', ' ', $order->status)) }}
{{ $order->order_number }}
{{ $order->created_at->format('M d, Y h:i A') }}
{{ $order->updated_at->format('M d, Y h:i A') }}
{{ $order->user->name }}
@if(Auth::user()->isSuperAdmin())
{{ $order->company->name }}
@endif

Customer Information

{{ $order->customer_name }}
@if($order->customer_email) @endif @if($order->customer_phone) @endif

Vehicle Information

{{ $order->brand }} {{ $order->car_model }}
Vehicle
{{ $order->shield_model }}
Shield Model

Order Details

Total Amount: ${{ number_format($order->total, 2) }}
Delivery Date: @if($order->delivery_date) {{ $order->delivery_date->format('M d, Y') }} @else Not set @endif
Status: {{ ucfirst(str_replace('_', ' ', $order->status)) }}
@if($order->description)

Description

{{ $order->description }}

@endif @if($order->notes)

Internal Notes

{{ $order->notes }}

@endif
@can('edit orders')

Quick Actions

@csrf
@endcan @can('delete orders')

Danger Zone

Delete Order

Once you delete an order, there is no going back. This will permanently delete the order and all associated data.

@csrf @method('DELETE')
@endcan
@endsection