@component('mail::panel')
{{ trans('messages.shop_name') . ': ' . $order_detail->shop->name }}
{{ trans('messages.order_id') . ': ' . $order_detail->order_number }}
{{ trans('messages.payment_method') . ': ' . $order_detail->paymentMethod->name }}
{!! trans('messages.payment_status') . ': ' . $order_detail->paymentStatusName(True) !!}
{{ trans('messages.order_status') . ': ' }} {!! $order_detail->orderStatus(True) !!}
@if($order_detail->carrier_id)
{{ trans('messages.shipping_carrier') . ': ' . $order_detail->carrier->name }}
@endif
@if($order_detail->tracking_id)
@php
$tracking_url = getTrackingUrl($order_detail->tracking_id, $order_detail->carrier_id);
@endphp
{{ trans('messages.tracking_id') }}: {{ $order_detail->tracking_id }}
@endif
{!! trans('messages.shipping_address') . ': ' . $order_detail->shipping_address !!}
{!! trans('messages.billing_address') . ': ' . $order_detail->billing_address !!}
@endcomponent