logo

{{ __e('orderRequest.text_congrats') }}

{{ __e('orderRequest.text_thank_you_for_your_order') }}

{{ __e('orderRequest.text_order_details') }}

{{ __e('orderRequest.text_order_number_customer') }}: {{ $order->id }} {{ __e('orderRequest.text_placed_on') }}: {{ date('d/m/Y', strtotime($order->created_at)) }}

Plata: {{$order->payment_methods->payment_method_data()->where('language_id', getCustomerLanguage())->first()->name}}


@if(!empty($order->order_products)) @foreach($order?->order_products as $key => $product) {{-- @foreach($products as $product) --}} @endforeach @endif
{{ __e('orderRequest.text_refference') }} {{ __e('orderRequest.text_product_order') }} {{ __e('orderRequest.text_unit_price') }} {{ __e('orderRequest.text_quantity') }} {{ __e('orderRequest.text_total_price') }}
{{ $product->products->code }} {{$product->products?->products_data?->name}} @if ($product->product_options != null)
    @foreach ($product->product_options as $productOption)
  • {{ $productOption->option_data()->where('language_id', getCustomerLanguage())->first()->name }}: {{ $productOption->option_value->optionValueData()->where('language_id', getCustomerLanguage())->first()->name }}
  • @endforeach
@endif
{{ number_format($product->unit_price, 2, ',', '.') }} {{ $product->orders->currency->name }} {{ $product->quantity }} {{ number_format($product->total_price, 2, ',', '.') }} {{ $product->orders->currency->name }}
{{ $order?->shipping_method_data?->name ?? "" }} {{ number_format($order->shipping, 2, ',', '.') ?? 0 }} {{ $order->currency->name }}
{{ __e('order.text_tva') }} {{number_format($order->order_total - $order->total, 2, ',', '.') }} {{ $order->currency->name }}
{{ __e('order.text_total_order_tva') }} {{ number_format($order->order_total, 2, ',', '.') }} {{ $order->currency->name }}

{{ __e('orderRequest.text_delivery_address') }}

{{ $order->order_shipping_addresses?->name ?? '' }}

{{ $order->order_shipping_addresses?->address ?? '' }}

{{ $order->order_shipping_addresses?->counties?->name ?? '' }}

{{ $order->order_shipping_addresses?->localities?->name ?? $order->order_shipping_addresses?->locality_name ?? ''}}

{{ $order->order_shipping_addresses?->countries?->name ?? '' }}

{{ $order->order_shipping_addresses?->phone ?? '' }}

{{ __e('orderRequest.text_billing_address') }}

{{ $order->order_billing_addresses?->name ?? '' }}

{{ $order->order_billing_addresses?->address ?? '' }}

{{ $order->order_billing_addresses?->counties?->name ?? '' }}

{{ $order->order_billing_addresses?->localities?->name ?? $order->order_billing_addresses?->locality_name ?? ''}}

{{ $order->order_billing_addresses?->countries?->name ?? '' }}

{{ $order->order_billing_addresses?->phone ?? '' }}


@if($order->order_billing_addresses?->is_company)

{{ __e('checkout.text_company') }} : {{ $order->order_billing_addresses?->company_name ?? '' }}

{{ __e('checkout.text_vat') }} : {{ $order->order_billing_addresses?->vat_payer == 1 ? __e('common.text_yes') : __e('common.text_no') }}

{{ __e('checkout.text_cif') }} : {{ $order->order_billing_addresses?->cif ?? '' }}

{{ __e('checkout.text_trade_register') }} : {{ $order->order_billing_addresses?->reg_com ?? '' }}

@endif

@if ($order->comments != '')

{{ __e('orderRequest.text_client_message') }}

{{ $order->comments }}

@endif