@component('mail::message') # Új megrendelés érkezett A rendelés adatai: Rendelésazonosító: {{ $order->transaction_id }} Fizetési mód: {{ \App\Models\Order::$PAYMENT_METHOD_VALUES[$order->payment_method] }}
Szállítási mód: {{ \App\Models\Order::$SHIPPING_METHOD_VALUES[$order->shipping_method] }}
Név: {{ $order->billing_name }}

@foreach($items as $item) @endforeach
Megnevezés Mennyiség Egységár Ár
{{ $item['name'] }} {{ $item['qty'] }} {{ $item['unit'] }} {{ $item['unit_price'] ? \App\Utils::priceForHumans($item['unit_price']) : null }} {{ $item['price'] ? \App\Utils::priceForHumans($item['price']) : null }}
Végösszeg {{ \App\Utils::priceForHumans($order->price) }}

@endcomponent