@extends('layouts.app') @section('content')
| ชื่อผลิตภัณฑ์: | {{ $product->name ?? 'ไม่ระบุ' }} |
| โมเดล/รุ่น: | {{ $product->model ?? 'ไม่ระบุ' }} |
| วิธีรับข้อมูล: | {{ $product->log_receive_method ?? 'ไม่ระบุ' }} |
| ประเภทผลิตภัณฑ์: | {{ $product->product_type ?? 'ไม่ระบุ' }} |
| Email ติดต่อ: | {{ $product->user->Email ?? 'ไม่ระบุ' }} |
ไม่มีรูปภาพ
การประเมินนี้ยังเป็นฉบับร่าง กรุณาส่งการประเมินก่อนเพื่อดูผลการประเมิน
| ข้อ | ข้อกำหนด | คำตอบ | ผลการตรวจสอบ | คำอธิบาย |
|---|---|---|---|---|
|
@if($question->has_question_number)
@php
$questionNumber = $question->question_number_only;
$level = substr_count($questionNumber, '.');
$indent = $level * 20; // ย่อหน้าตามระดับ
@endphp
{{ $questionNumber }}
@else
{{ $questionNumber }}
@endif
|
{{ $question->question_content ?? $question->question_text ?? 'ไม่ระบุ' }}
@if($question->question_type === null && $question->logic_operator)
(Logic: {{ $question->logic_operator }}) @endif @if($question->question_type == 'multiple_choice') (คำถามแบบตัวเลือก) @elseif($question->question_type == 'text') (คำถามแบบข้อความ) @endif |
@if($question->question_type === null)
-
@elseif($answer)
@if($question->question_type == 'yes_no')
@if($answer->comment)
{{ $answer->comment }}
@else
-
@endif
@elseif($question->question_type == 'multiple_choice')
{{ $answer->answer_text }}
@elseif($question->question_type == 'text')
ข้อความ
{{ Str::limit($answer->answer_text, 100) }}
@else
{{ $answer->answer_text ?? 'ไม่ระบุ' }}
@endif
@else
-
@endif
|
@if($question->question_type == 'yes_no') @if($question->use_in_evaluation) @if($answer && $answer->answer_text == 'ใช่') @elseif($answer && $answer->answer_text == 'ไม่ใช่') @else N/A @endif @else N/A @endif @elseif($question->question_type === null) @if($question->use_in_evaluation) @if($answer && $answer->answer_text == 'ใช่') @elseif($answer && $answer->answer_text == 'ไม่ใช่') @else N/A @endif @else N/A @endif @elseif($question->question_type == 'multiple_choice') N/A @elseif($question->question_type == 'text') N/A @endif | @if($answer && $answer->answer_text) {{ $answer->answer_text }} @else - @endif |
| ไม่มีข้อมูลการประเมิน | ||||
ไม่พบผลการประเมินสำหรับผลิตภัณฑ์นี้