@if (Yard::instance('shopping')->content()->count()) @if (Yard::instance('shopping')->compCount() > 0)
@if (isset($error_message) && $error_message)
{{ $error_message }}
@endif
 
{{ __('order.article') }}
{{ __('order.unit_price') }}
{{ __('order.quantity') }}
@foreach (Yard::instance('shopping')->getContentByOrder() as $row) @php($product = \App\Models\Product::find($row->id))
@if ($row->options->has('image')) @else @endif
{{ $row->name }} @if (isset($is_abo) && $is_abo) {!! get_abo_type_badge_by_product($product) !!} @endif
{{ __('order.content') }}: {{ $product->contents }}
{{ __('order.art_no') }}: {{ $product->number }}
{{ __('order.points') }}: @if ($row->options->comp) 0 @else {{ $product->getFormattedPoints() }} @endif
@if (!$row->options->comp) {{ __('order.article_remove') }} @else @if (Yard::instance('shopping')->getNumComp() > 1) {{ $row->options->comp }}. {{ __('order.compensation_product') }} @else {{ __('order.compensation_product') }} @endif @endif
{{ Yard::instance('shopping')->rowPriceNet($row, 3) }} €
@if (Yard::instance('shopping')->isPriceCurrency()) ~{{ Yard::instance('shopping')->getCurrencyByKey('rowPriceNetCurrency', $row, 3) }} {{ Yard::instance('shopping')->getPriceCurrencyUnit() }} @endif
@if ($row->options->comp) 1 x @else
@endif
{{ Yard::instance('shopping')->rowSubtotalNet($row) }} €
@if (Yard::instance('shopping')->isPriceCurrency()) ~{{ Yard::instance('shopping')->getCurrencyByKey('rowSubtotalCurrency', $row, 3) }} {{ Yard::instance('shopping')->getPriceCurrencyUnit() }} @endif
@endforeach

{!! __('order.you_has_article_in_shopping_cart', ['num' => Yard::instance('shopping')->compCount()]) !!}

{{ __('order.points_total') }}: {{ formatNumber(Yard::instance('shopping')->points()) }}

@if (Yard::instance('shopping')->getUserTaxFree()) @else @endif
{{ __('order.subtotal') }}:
{{ Yard::instance('shopping')->subtotal() }} €
@if (Yard::instance('shopping')->isPriceCurrency()) ~{{ Yard::instance('shopping')->getCurrencyByKey('subtotal') }} {{ Yard::instance('shopping')->getPriceCurrencyUnit() }} @endif
{{ __('Delivery country') }}: {{ Yard::instance('shopping')->getShippingCountryName() }}
{{ __('order.shipping_costs') }}: @php($shippingFree = Yard::instance('shopping')->getShippingFree()) @php($missingValue = Yard::instance('shopping')->getShippingFreeMissingValue()) @php($currentShipping = Yard::instance('shopping')->shippingNet()) @if ($shippingFree && intval($currentShipping) == 0) {{-- Versandkostenfrei erreicht --}}
{{ __('order.free_shipping') }}
{{ __('order.free_shipping_reached', ['amount' => number_format($shippingFree, 2, ',', '.')]) }}
@else {{-- Normale Versandkosten --}}
{{ $currentShipping }} €
@if (Yard::instance('shopping')->isPriceCurrency()) ~{{ Yard::instance('shopping')->getCurrencyByKey('shippingNet') }} {{ Yard::instance('shopping')->getPriceCurrencyUnit() }} @endif @if ($shippingFree && $missingValue > 0) {{-- Zeige wie viel noch fehlt --}}
{{ __('order.free_shipping_info', [ 'amount' => number_format($shippingFree, 2, ',', '.'), 'missing' => number_format($missingValue, 2, ',', '.'), ]) }}
@endif @endif
{{ __('order.total_without_VAT') }}:
{{ Yard::instance('shopping')->subtotalWithShipping() }} €
@if (Yard::instance('shopping')->isPriceCurrency()) ~{{ Yard::instance('shopping')->getCurrencyByKey('subtotalWithShipping') }} {{ Yard::instance('shopping')->getPriceCurrencyUnit() }} @endif
{{ __('order.plus_VAT') }}:
{{ Yard::instance('shopping')->taxWithShipping() }} €
@if (Yard::instance('shopping')->isPriceCurrency()) ~{{ Yard::instance('shopping')->getCurrencyByKey('taxWithShipping') }} {{ Yard::instance('shopping')->getPriceCurrencyUnit() }} @endif
{{ __('order.total_net') }}:
{{ Yard::instance('shopping')->totalWithShipping() }} €
@if (Yard::instance('shopping')->isPriceCurrency()) ~{{ Yard::instance('shopping')->getCurrencyByKey('totalWithShipping') }} {{ Yard::instance('shopping')->getPriceCurrencyUnit() }} @endif
{{ __('order.total_gross') }}:
{{ Yard::instance('shopping')->totalWithShipping() }} €
@if (Yard::instance('shopping')->isPriceCurrency()) ~{{ Yard::instance('shopping')->getCurrencyByKey('totalWithShipping') }} {{ Yard::instance('shopping')->getPriceCurrencyUnit() }} @endif

@if (isset($is_abo) && $is_abo)

{{ __('abo.abo_settings') }}

{!! __('abo.abo_order_info_check') !!}
{!! __('abo.abo_order_info_check_2') !!}
{!! __('abo.abo_order_info_check_3', [ 'abo-min-duration' => \App\Models\Setting::getContentBySlug('abo-min-duration'), ]) !!}

@endif @php($is_disabled = false) @if (isset($is_abo) && $is_abo && !\App\Services\AboHelper::aboHasBaseProduct(Yard::instance('shopping')->getContentByOrder())) @php($is_disabled = true)
{!! __('abo.abo_type_info_base', ['base' => get_abo_type_badge('base')]) !!}

@endif @if ((isset($data['for']) && $data['for'] === 'ot-customer') || (isset($for) && $for === 'abo-ot-customer'))


{!! __('order.confirm_send_order_info') !!}
@else


{!! __('payment.checkout_ssl_server') !!}
@endif @endif @endif