320:         $grouped     = $allSampleQs->groupBy('question_text');
540:         $grouped     = $allSampleQs->groupBy('question_text');
773:                 $sheet->setCellValue("B{$row}", '  ' . ($qi + 1) . '.  ' . $question->question_text);
998:         $qColMap = [];
1004:                 $sheet->setCellValue("{$c}5", $q->question_text);
1013:                 $qColMap[$q->id] = ['ans' => $c, 'note' => null, 'si' => null];
1018:                 $sheet->setCellValue("{$c}5", $q->question_text);
1029:                 $qColMap[$q->id] = ['ans' => $c, 'note' => $cN, 'si' => null];
1039:                 $label  = '[' . strtoupper($sample->name) . '] ' . $q->question_text;
1050:                     $qColMap[$q->id] = ['ans' => $c, 'note' => null, 'si' => $si];
1066:                     $qColMap[$q->id] = ['ans' => $c, 'note' => $cN, 'si' => $si];
1150:                 if (!$answer->question || !isset($qColMap[$answer->question_id])) continue;
1151:                 $map = $qColMap[$answer->question_id];
