@component('mail::message')
    {!! trim(preg_replace('/\h+/', ' ', trans('email.order_created.message', [
        'customer_name' => ($order->user->first_name ? $order->user->first_name . ' ' : '') . ($order->user->last_name ?? ''),
        'order_reference' => $order->order_reference,
        'url' => route('ch_order_view', [$order->encrypted_id]),
        'site_name' => setting('app.name', 'ChargePanda')
    ]))) !!}
@endcomponent
