@extends('layouts.layout-2') @section('content')

@if($is_abo) {{ __('order.order_abo_was_placed_successfully') }} @else {{ __('order.order_was_placed_successfully') }} @endif @if($backlink){{ __('back') }}@endif

{{ __('order.payment_link_for_your_customer') }} | {{ $shopping_instance->created_at->format('d.m.Y') }} | {!! \App\Services\OrderPaymentService::getStatusBadge($shopping_instance) !!}

{{ __('customer.customer_billing_address') }}
@if($shopping_user->billing_company)
{{ __('Company') }}
{{ $shopping_user->billing_company }}
@endif
{{ __('Salutation') }}
{{ \App\Services\HTMLHelper::getSalutationLang($shopping_user->billing_salutation) }}
{{ __('First name') }}
{{ $shopping_user->billing_firstname }}
{{ __('Last name') }}
{{ $shopping_user->billing_lastname }}
{{ __('Street') }}
{{ $shopping_user->billing_address }}
{{ __('Addition') }}
{{ $shopping_user->billing_address_2 }}
{{ __('Postcode') }}
{{ $shopping_user->billing_zipcode }}
{{ __('City') }}
{{ $shopping_user->billing_city }}
{{ __('Country') }}
{{ $shopping_user->billing_country->getLocated() }}
{{ __('Phone') }}
{{ $shopping_user->billing_phone }}
{{ __('E-Mail') }}
@if($shopping_user->faker_mail) "-" @else {{ $shopping_user->billing_email }} @endif

{{ __('Delivery address') }}
@if($shopping_user->same_as_billing) {{__('email.checkout_mail_same_address')}} @else
@if($shopping_user->shipping_company)
{{ __('Company') }}
{{ $shopping_user->shipping_company }}
@endif
{{ __('Salutation') }}
{{ \App\Services\HTMLHelper::getSalutationLang($shopping_user->shipping_salutation) }}
{{ __('First name') }}
{{ $shopping_user->shipping_firstname }}
{{ __('Last name') }}
{{ $shopping_user->shipping_lastname }}
{{ __('Street') }}
{{ $shopping_user->shipping_address }}
{{ __('Addition') }}
{{ $shopping_user->shipping_address_2 }}
{{ __('Postcode') }}
{{ $shopping_user->shipping_zipcode }}
{{ __('City') }}
{{ $shopping_user->shipping_city }}
{{ __('Country') }}
{{ $shopping_user->shipping_country->getLocated() }}
{{ __('Phone') }}
{{ $shopping_user->shipping_phone }}
@if($shopping_user->shipping_postnumber)
{{ __('payment.dhl_postnumber') }}
{{ $shopping_user->shipping_postnumber }} {{ __('payment.packstation_delivery') }}
@endif
@endif
{{ __('tables.order') }}
@if(isset($yard_shopping_items))
@foreach($yard_shopping_items['items'] as $item) @endforeach @if($yard_shopping_items['tax_free']) @else @endif
{{ __('tables.product') }} @if($yard_shopping_items['tax_free']) {{ __('tables.net_price') }} @else {{ __('tables.price') }} @endif {{ __('tables.quantity') }} {{ __('tables.sum') }}
@if($item->image) @endif
{{ $item->name }} @if($is_abo) {!! get_abo_type_badge($item->abo_type) !!} @endif
{{ __('order.content') }}: {{ $item->contents }}
{{ __('order.art_no') }}: {{ $item->number }}
@if($yard_shopping_items['tax_free']) {{ formatNumber($item->price_net, 2) }} € @else {{ formatNumber($item->price, 2) }} € @endif {{ $item->qty }} @if($yard_shopping_items['tax_free']) {{ formatNumber($item->price_net_total, 2) }} € @else {{ formatNumber($item->price_total, 2) }} € @endif
{{__('order.subtotal')}} {{ $yard_shopping_items['total']['subtotal'] }} €
{{__('Delivery country')}} {{ $yard_shopping_items['total']['shippingCountryName'] }}
{{__('order.shipping_costs')}} {{ $yard_shopping_items['total']['shippingNet'] }} €
{{__('order.total_without_VAT')}} {{ $yard_shopping_items['total']['subtotalWithShipping'] }} €
{{__('order.plus_VAT')}} {{ $yard_shopping_items['total']['taxWithShipping'] }} €
{{__('order.total_net')}} {{ $yard_shopping_items['total']['totalWithShipping'] }} €
{{__('order.total_net')}} {{ $yard_shopping_items['total']['totalWithShipping'] }} €
{{__('email.checkout_mail_subtotal_ws')}}
{{__('order.total_gross')}} {{ $yard_shopping_items['total']['totalWithShipping'] }} €
{{__('email.checkout_mail_tax_info')}}
@endif
@endsection