@component('mail::message') # New Order!
User: {{ $order->first_name }} {{ $order->last_name }} (User ID: {{ $order->user_id }})
Email: {{ $order->email }}
Phone: {{ $order->phone }}
Address: {{ collect([$order->country, $order->city, $order->address, $order->zip])->filter()->implode(', ') ?: '—' }}
Amount: {{ $order->amount }}
Shipping: {{ $order->shipping_price }}
Promocode: {{ $order->promocode_id && $order->promocode ? $order->promocode->code : '---' }}
@if($order->items && $order->items->count()) ## Items @foreach($order->items as $item) - {{ $item->productName() }} × {{ $item->quantity }} @ {{ $item->price }} @if($item->notes) _Note:_ {{ $item->notes }} @endif @endforeach @endif