@extends('emails.layout') @section('document-title') @yield('title') — {{ $details['number'] }} @endsection @section('content') @php $isConfirmation = $isConfirmation ?? false; $fields = $isConfirmation ? ['Order number' => 'number', 'Company' => 'company', 'Community' => 'department', 'Ordered by' => 'creator', 'Order Date' => 'date', 'Status' => 'status'] : ['Order number' => 'number', 'Company' => 'company', 'Community' => 'department', 'Created by' => 'creator', 'Order date/time' => 'date', 'Current status' => 'status']; @endphp
| {{ $label }} | {{ $details[$field] ?? '—' }}
@if ($field === 'creator' && $details['creator_email'])
{{ $details['creator_email'] }}
@endif
|
Shipping address: {{ $details['shipping_address'] }}
@endif| {{ $isConfirmation ? 'Item' : 'Product / variant' }} | {{ $isConfirmation ? 'Quantity' : 'Qty' }} | @if ($showAmounts || $isConfirmation){{ $isConfirmation ? 'Total Units' : 'Total' }} | @endif
|---|---|---|
|
{{ $item['name'] }}
@if ($item['variant']) {{ $item['variant'] }} @endif
@if ($item['size'])Size: {{ $item['size'] }} @endif
|
{{ $item['quantity_label'] }} | @if ($showAmounts || $isConfirmation){{ $isConfirmation ? $item['quantity_label'] : ($item['total'] ?? '—') }} | @endif
| {{ $isConfirmation ? 'Total Units' : 'Total' }} | {{ $details['quantity_label'] }} | @if ($showAmounts || $isConfirmation){{ $isConfirmation ? $details['quantity_label'] : ($details['total'] ?? '—') }} | @endif
An amount is unavailable because pricing has not been recorded for every item.
@endif @if ($details['status'] === 'Shipped' && ($details['courier'] || $details['tracking_id']))
@if ($details['courier'])Courier: {{ $details['courier'] }}
@endif
@if ($details['tracking_id'])Tracking ID: {{ $details['tracking_id'] }}@endif
| View Order |
If the button does not work, open:
@if ($isConfirmation)Button not working? Copy and paste this link into your browser: @endif{{ $orderUrl }}