@php $changeHistory = $user_abo->getChangeHistory(); $priceLabel = $user_abo->is_for === 'me' ? __('abo_history.price_net') : __('abo_history.price_gross'); @endphp
{{ __('abo_history.change_history') }}
@if(isset($isAdmin) && $isAdmin && $user_abo->getInitialItems()->isNotEmpty()) {{--
@csrf
--}} @endif
@if($changeHistory->isEmpty())

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

@else
@foreach($changeHistory as $entry) @endforeach
{{ __('abo_history.col_date') }} {{ __('abo_history.col_action') }} {{ __('abo_history.col_product') }} {{ __('abo_history.col_details') }} {{ __('tables.price') }} ({{ $priceLabel }}) {{ __('abo_history.col_changed_by') }} {{ __('abo_history.col_channel') }}
{{ $entry->getFormattedDate() }} {!! $entry->getActionBadge() !!} {{ $entry->product_name }} @if($entry->product_number)
{{ $entry->product_number }} @endif
{{ $entry->getChangeDescription() }} {{ $entry->getFormattedTotalPrice() }} € {{ $entry->changed_by_name }} {!! $entry->getChannelBadge() !!}
@endif