| # | Name | Description | Actions |
|---|---|---|---|
| {{ $key + 1 }} | {{ $item->recordContext['surveyName'] ?? 'Unknown Survey' }} | {{ $item->recordContext['surveyDescription'] ?? '' }} | @php $surveyId = $item->survey_id; // Defensive: survey_id may be scalar, JSON array, or legacy quoted string. if (is_array($surveyId)) { $surveyId = $surveyId[0] ?? null; } if (is_string($surveyId)) { $surveyId = trim($surveyId, '"'); } @endphp @if ($surveyId) Answer form - Answer list @else No survey ID @endif |