@php $initialItems = $user_abo->getInitialItems(); $initialCompItems = $user_abo->getInitialCompItems(); $priceLabel = $user_abo->is_for === 'me' ? __('abo_history.price_net') : __('abo_history.price_gross'); @endphp
{{ __('abo_history.initial_composition') }}
@if($initialItems->isEmpty() && $initialCompItems->isEmpty())

{{ __('abo_history.no_initial_data') }}

@else
@foreach($initialItems as $item) @endforeach @foreach($initialCompItems as $item) @endforeach
{{ __('order.article') }} {{ __('order.art_no') }} {{ __('tables.quantity') }} {{ __('tables.price') }} ({{ $priceLabel }}) {{ __('order.total_sum') }} ({{ $priceLabel }})
{{ $item->product_name }} @if($item->product)   {!! \App\Services\AboHelper::getAboTypeBadge(\App\Services\AboHelper::getAboShowOn($item->product)) !!} @endif {{ $item->product_number }} {{ $item->qty_after }} {{ $item->getFormattedUnitPrice() }} € {{ $item->getFormattedTotalPrice() }} €
Comp {{ $item->product_name }} {{ $item->product_number }} {{ $item->qty_after }} {{ $item->getFormattedUnitPrice() }} € {{ $item->getFormattedTotalPrice() }} €
@endif