@section('title') Evaluation @endsection @include('pages.apps.evaluation.evaluator.partials.stepper', ['currentStep' => 2])

{{ ucfirst($application->type) . __(' Review') }}

{{ __('Summary : ') }}

{{ ucfirst($application->type) . __(' Details') }}

{{ $application->product_group->parent->parent->name }}
{{ $application->product_group->parent->name }}
{{ $application->product_group->name }}
@if ($application->type == \App\Models\Application::TYPE_SERVICE) @else @endif @foreach ($application->items as $item) @php $name = ''; $formDetailName = $application->type == \App\Models\Application::TYPE_SERVICE ? 'Service' : 'Product'; $name = optional( $item->itemDetails ->firstWhere(fn($detail) => $detail->formDetail->name === $formDetailName . ' Name') )->value ?? '-'; $serviceDescription = optional( $item->itemDetails ->firstWhere(fn($detail) => $detail->formDetail->name === 'Service Description') )->value ?? '-'; $brand = optional( $item->itemDetails ->firstWhere(fn($detail) => $detail->formDetail->name === 'Brand') )->value ?? '-'; $models = ['Model', 'Product code/ Model']; $model = $item->getItemDetailValue($models) ?? '-'; @endphp @if ($application->type == \App\Models\Application::TYPE_SERVICE) @endforeach
{{ ucfirst($application->type) . __(' List') }}
{{ __('No.') }} {{ ucfirst($application->type) . __(' Name') }}{{ __('Description') }}{{ __('Brand') }} {{ __('Model') }}{{ __('Evaluation Status') }} {{ __('Action') }}
{{ $loop->iteration }} {{ $name }}{{ $serviceDescription }} @else {{ $brand }} {{ $model }} @endif @if ($evaluations[$item->id]) @else @endif
@if ($evaluated) @endif