Review DashSteps
Please review each DashStep and approve it, or specify the changes needed. Each step is reviewed independently. Changes are applied manually, then marked complete. Approval here does not submit a case, alter live steps, or send notices.
= $groupTitle ?>
= count($state['groups'][$groupKey]) ?> stepsOpen changes first, then changed approvals, emergency response, Detective actions, family contacts, and informational steps.
No steps in this section.
0,'Completed'=>1,'Withdrawn'=>2]; usort($items,static fn($a,$b) => ($order[$a['Status']] <=> $order[$b['Status']]) ?: ((int)$b['ReviewChangeID'] <=> (int)$a['ReviewChangeID'])); $openCount = $state['openCounts'][$id]; $draft = $postError !== '' && $openID === $id && ($_POST['action'] ?? '') === 'add' ? $_POST : []; $draftValue = static fn(string $field) => PADashReviewEscape(is_string($draft[$field] ?? null) ? $draft[$field] : ''); $search = mb_strtolower(PADashReviewPlain(json_encode([$entry['title'],$entry['role'],$id,$entry['source'],$items],JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR)),'UTF-8'); ?>#= str_pad((string)$id,2,'0',STR_PAD_LEFT) ?>template= PADashReviewEscape($entry['role']) ?> / = $entry['info'] ? 'Information only' : 'Action step' ?>= PADashReviewEscape(PADashReviewSample($entry['title'])) ?>= count($entry['questions']) ?> questions / Template #= $id ?>Updated since approval= $openCount ?> = $openCount === 1 ? 'change' : 'changes' ?> to finish= $groupKey === 'accepted' ? 'Accepted' : 'Please Review' ?>
DashStep preview
Fictional sample / no live case actionsTemplate text and references
= PADashReviewEscape($entry['title']) ?>Description
= PADashReviewEscape($template['Description']) ?>Instructions
= PADashReviewEscape($template['Instructions']) ?>Notes label
= PADashReviewEscape($template['NotesLabel']) ?>
Some titles, contact details, overdue warnings, and extra fields are filled by the case or event. Name that displayed step in your change request.
Related notices
'Email','smsReferences'=>'SMS'] as $type=>$label): foreach ($entry['source'][$type] as $ref): ?>= $label ?>: = PADashReviewEscape($ref[$type === 'emailReferences' ? 'EmailTemplateID' : 'SMSTemplateID']) ?> / = PADashReviewEscape(PADashReviewRole($ref['RecipientUserType'])) ?>
No direct notice references. Background events may use separate reminder templates.
Workflow references
= PADashReviewEscape(json_encode(['next_step_logic'=>$template['NextDashStepLogic'],'mappings'=>$entry['source']['mappings']],JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR)) ?>
Submitted changes
= $openCount ?> to finish / = count(array_filter($items,static fn($item)=>$item['Status']==='Completed')) ?> completedNo changes submitted for this DashStep.
$item): ?>Applies to: = PADashReviewEscape($item['StepReference']) ?>
= nl2br(PADashReviewEscape($item['CurrentText'] ?: 'New addition or general change')) ?>
= nl2br(PADashReviewEscape($item['RequestedChange'])) ?>
Review activity (= count($activity[$id]) ?>)
- = PADashReviewEscape($event['CreatedAt']) ?> / Admin #= (int)$event['AdminID'] ?> / = PADashReviewEscape(str_replace('_',' ',$event['Action'])) ?>= $event['ReviewChangeID'] ? ' / Change #'.(int)$event['ReviewChangeID'] : '' ?>