@php $orders = $order; if ($orders instanceof \Illuminate\Support\Collection) { $order = $orders->where('is_finished', true)->first(); if (! $order) { $order = $orders->first(); } } $userInfo = $order->address->id ? $order->address : $order->user; @endphp

{{ __('Customer information') }}

@if ($userInfo->id)
@if ($userInfo->name)
{{ __('Full name') }}
{{ $userInfo->name }}
@endif @if ($userInfo->phone)
{{ __('Phone') }}
{{ $userInfo->phone }}
@endif @if ($userInfo->email)
{{ __('Email') }}
{{ $userInfo->email }}
@endif @if ($order->full_address && in_array('address', EcommerceHelper::getHiddenFieldsAtCheckout()) && ! empty($isShowShipping))
{{ __('Address') }}
{{ $order->full_address }}
@endif @if (! empty($isShowShipping))
{{ __('Shipping method') }}
{{ $order->shipping_method_name }} - {{ format_price($order->shipping_amount) }}
@endif @if (is_plugin_active('payment') && $order->payment->id)
{{ __('Payment method') }}
{{ $order->payment->payment_channel->label() }}
{{ __('Payment status') }}
{!! BaseHelper::clean($order->payment->status->toHtml()) !!}
@endif
@endif @if ( setting('payment_bank_transfer_display_bank_info_at_the_checkout_success_page', false) && ($bankInfo = OrderHelper::getOrderBankInfo($orders)) )
{!! $bankInfo !!}
@endif {!! apply_filters('ecommerce_thank_you_customer_info', null, $order) !!}
@if ($tax = $order->taxInformation)

{{ __('Tax information') }}

{{ __('Company name') }}
{{ $tax->company_name }}
{{ __('Company tax code') }}
{{ $tax->company_tax_code }}
{{ __('Company email') }}
{{ $tax->company_email }}
{{ __('Company address') }}
{{ $tax->company_address }}
@endif