@php $isRate = $row->commission_type?->isRateBased() ?? false; $unit = $row->commission_type?->getUnit() ?? '€'; @endphp
@if($isRate && $row->rate_percent) {{ str()->formatDecimal($row->rate_percent) }}% @elseif($row->amount_per_unit) {{ str()->formatDecimal($row->amount_per_unit) }} {{ $unit }} @else {{ str()->formatDecimal($value) }}€ @endif