{{ $service['service_name'] }}

@if (in_array($service['id'], $selectedContracts->pluck('id')->toArray())) @can('viewServices', $this->applicationId) @endcan @else @endif
{!! $service['symbol'] !!} {!! $service['price'] !!}
@if ($service['base_price']) @php $convertPrice = Auth::user()->params ? json_decode(Auth::user()->params, true)['convert_price'] ?? false : false; @endphp @if ($convertPrice)
{!! $service['convert_symbol'] !!} {!! $service['base_price_convert'] !!}
@else
{!! $service['symbol'] !!} {!! $service['base_price']['price'] !!}
@endif @endif
{!! $service['informations'] !!}
@foreach ($service['attributes'] as $attribute)
{{ $attribute['attribute'] }}: {{ $attribute['value'] }}
@endforeach
@if (in_array($service['id'], $selectedContracts->pluck('id')->toArray())) @if (!empty($service['parameters']->toArray()))
@foreach ($service['parameters'] as $parameter)
@can('viewServices', $this->applicationId) @else @endcan
@endforeach @can('viewServices', $this->applicationId) @endcan
@endif @endif