@extends('layouts.store') @section('title', $order->order_number.' — Meatworx') @section('content')

{{ $order->order_number }}

{{ ucfirst($order->status) }}

Delivery {{ $order->delivery_date->format('d M Y') }}. @if($order->isEditable()) You can edit until {{ $order->cutoffAt()->format('d M, h:i A') }}. @else This order is locked for the supplier report. @endif

@if($order->comments)

Instructions: {{ $order->comments }}

@endif @foreach($order->items as $item) @endforeach
ProductQtyUnit
{{ $item->product_name }}{{ $item->quantity }}{{ $item->unit }}
@if($order->isEditable()) Edit order @endif @if($order->invoice) View invoice @endif

History

    @foreach($order->audits as $audit)
  • {{ $audit->created_at->format('d M, h:i A') }} — {{ $audit->summary }}
  • @endforeach
@endsection