@extends('layouts.app')

@section('content')
    <div class="container">
        <div class="card col-6 offset-3">
            <h5 class="card-header">Company: {{ $order->company }}</h5>
            <div class="card-body">
                <h5 class="card-title">Name: {{ $order->name }}</h5>
                <p class="card-text">Phone: {{ $order->phone }}</p>
                <p class="card-text">Description:<br> {{ $order->description }}</p>
                <p class="card-text">Email Date: {{ $order->created_at }}</p>
                <p class="card-text">Due Date: {{ $order->due_date }}</p>
            </div>
        </div>
        <div class="col-6 offset-3">
            <a href="/orders" class="btn btn-success">Back to Orders</a>
        </div>
    </div>
@endsection
