@component('shop::emails.layout')
@lang('shop::app.emails.orders.shipped.title')

@lang('shop::app.emails.dear', ['customer_name' => $shipment->order->customer_full_name]),👋

@lang('shop::app.emails.orders.shipped.greeting', [ 'invoice_id' => $shipment->increment_id, 'order_id' => '#' . $shipment->order->increment_id . '', 'created_at' => core()->formatDate($shipment->order->created_at, 'Y-m-d H:i:s') ])

@lang('shop::app.emails.orders.shipped.summary')
@if ($shipment->order->shipping_address)
@lang('shop::app.emails.orders.shipping-address')
{{ $shipment->order->shipping_address->company_name ?? '' }}
{{ $shipment->order->shipping_address->name }}
{{ $shipment->order->shipping_address->address }}
{{ $shipment->order->shipping_address->postcode . " " . $shipment->order->shipping_address->city }}
{{ $shipment->order->shipping_address->state }}
---
@lang('shop::app.emails.orders.contact') : {{ $shipment->order->billing_address->phone }}
@lang('shop::app.emails.orders.shipping')
{{ $shipment->order->shipping_title }}
@lang('shop::app.emails.orders.carrier') : {{ $shipment->carrier_title }}
@lang('shop::app.emails.orders.tracking-number', ['tracking_number' => $shipment->track_number])
@php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($shipment->order->payment->method); @endphp @if (! empty($additionalDetails))
{{ $additionalDetails->title }} :
{{ $additionalDetails->value }}
@endif
@endif @if ($shipment->order->billing_address)
@lang('shop::app.emails.orders.billing-address')
{{ $shipment->order->billing_address->company_name ?? '' }}
{{ $shipment->order->billing_address->name }}
{{ $shipment->order->billing_address->address }}
{{ $shipment->order->billing_address->postcode . " " . $shipment->order->billing_address->city }}
{{ $shipment->order->billing_address->state }}
---
@lang('shop::app.emails.orders.contact') : {{ $shipment->order->billing_address->phone }}
@lang('shop::app.emails.orders.payment')
{{ core()->getConfigData('sales.payment_methods.' . $shipment->order->payment->method . '.title') }}
@endif
@foreach (['sku', 'name', 'price', 'qty'] as $item) @endforeach @foreach ($shipment->items as $item) @endforeach
@lang('shop::app.emails.orders.' . $item)
{{ $item->sku }} {{ $item->name }} @if (isset($item->additional['attributes']))
@foreach ($item->additional['attributes'] as $attribute) {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@endif
@if (core()->getConfigData('sales.taxes.sales.display_prices') == 'including_tax') {{ core()->formatPrice($item->price_incl_tax, $shipment->order->order_currency_code) }} @elseif (core()->getConfigData('sales.taxes.sales.display_prices') == 'both') {{ core()->formatPrice($item->price_incl_tax, $shipment->order->order_currency_code) }} @lang('shop::app.emails.orders.excl-tax') {{ core()->formatPrice($item->price, $shipment->order->order_currency_code) }} @else {{ core()->formatPrice($item->price, $shipment->order->order_currency_code) }} @endif {{ $item->qty }}
@endcomponent