Request investigation media (optional)
['Video','video'],'REQUEST_AUDIO'=>['Audio','microphone'],'REQUEST_PHOTO'=>['Photos','camera']] as $key=>[$label,$icon]) { ?>
>
Optional next action and update time
prepare('SELECT DashID,CaseName,PIID,AssignedAdminID FROM PART_Dash WHERE DashID=? AND Status=\'Active\' AND RecordStatus=0'); $q->execute([$dashID]);$case=$q->fetch(PDO::FETCH_ASSOC); return $case ? $case+['canEdit'=>true,'canConfirm'=>(int)$case['AssignedAdminID']===$adminID] : null; } catch (Throwable $e) {return null;} } function PA_WEB_CASE_INFORMATION_BUTTONS(?array $case): void { if (!$case) return; ?>

Plan next case update

prepare("SELECT s.DashStepID,s.ParentDashStepID,s.Status,s.StatusMessage,s.TimeoutAtDateTime, s.Insert_DateTime,s.Update_DateTime,s.Notes,c.Title,c.Description,CONCAT_WS(' ',a.FirstName,a.LastName) AS DetectiveName, l.Telephone,l.Email FROM PART_DashSteps s JOIN PIAccounts a ON a.PIID=s.AssignedPIID LEFT JOIN PILocation l ON l.PILocationID=a.PILocationID LEFT JOIN PART_DashStepTagCache c ON c.DashStepID=s.DashStepID AND c.RecordStatus=0 WHERE s.DashID=? AND s.DashStepTemplateID=27 AND s.RecordStatus=0 ORDER BY s.DashStepID DESC"); $q->execute([$dashID]);$rows=$q->fetchAll(PDO::FETCH_ASSOC); if (!$rows) return; $pending=count(array_filter($rows,fn($row)=>$row['Status']==='Not Completed')); echo '
Information shared with Detective'.($pending ? ' - '.$pending.' awaiting acknowledgment' : '').''; foreach ($rows as $row) { $label=$row['Status']==='Not Completed' ? 'Awaiting acknowledgment' : ($row['Status']==='Completed' ? (str_contains((string)$row['StatusMessage'],'requested clarification') ? 'Clarification requested' : 'Acknowledged') : 'Ended - '.$row['Status']); echo '
'.htmlspecialchars($label,ENT_QUOTES,'UTF-8').' - Detective '.htmlspecialchars($row['DetectiveName'],ENT_QUOTES,'UTF-8').' | Information #'.(int)$row['DashStepID'].''; echo '

Sent for notification: '.htmlspecialchars($row['Insert_DateTime'],ENT_QUOTES,'UTF-8').' UTC. Acknowledgment is separate from email delivery or opens.

'; if ($row['Telephone']) echo ''.htmlspecialchars($row['Telephone'],ENT_QUOTES,'UTF-8').''; if (filter_var($row['Email'],FILTER_VALIDATE_EMAIL)) echo ''.htmlspecialchars($row['Email'],ENT_QUOTES,'UTF-8').''; echo '
'.htmlspecialchars($row['Description'] ?? '',ENT_QUOTES,'UTF-8').'
'; if ($row['Notes']) echo '

Detective notes: '.htmlspecialchars($row['Notes'],ENT_QUOTES,'UTF-8').'

'; if ($row['Status']==='Not Completed' && $case['canConfirm']) { $notesID='paInfoReceipt_'.(int)$row['DashStepID']; echo '
' .'' .'' .'

'; } echo '
'; } echo '
'; }