{{ $report['message'] }}
| PC Number | {{ $s['pc_number'] ?? '—' }} |
|---|---|
| UID | {{ $s['uid'] ?? '—' }} |
| Kind | {{ $s['kind'] ?? '—' }} |
| Scheme | {{ $s['scheme'] ?? '—' }} |
| ADP | {{ $s['adp'] ?? '—' }} |
| Department | {{ $s['department'] ?? '—' }} |
| Current / Parent / Root | #{{ $s['current_revision_id'] ?? '—' }} / #{{ $s['parent_form_id'] ?? '—' }} / #{{ $s['root_form_id'] ?? '—' }} |
| Created / Updated | {{ $s['created_at'] ?? '—' }} / {{ $s['updated_at'] ?? '—' }} |
| Imported From PCFMS | {{ !empty($s['imported_from_pcfms']) ? 'Yes' : 'No' }} |
| Import Batch | {{ $s['import_batch'] ?? '—' }} |
| Source Table / ID | {{ $s['source_table'] ?? '—' }} / {{ $s['source_id'] ?? '—' }} |
| State | {{ $s['state'] ?? '—' }} |
|---|---|
| Workflow Stage | {{ $s['workflow_stage'] ?? '—' }} |
| Current Actor | {{ $s['current_actor_name'] ?? '—' }} @if(!empty($s['current_actor_id'])) (#{{ $s['current_actor_id'] }}) @endif |
| Current Owner | {{ $s['current_owner'] ?? '—' }} |
| Created By | {{ $s['created_by_name'] ?? '—' }} @if(!empty($s['created_by'])) (#{{ $s['created_by'] }}) @endif |
| Updated By | {{ $s['updated_by_name'] ?? '—' }} |
| Allowed Actions | {{ !empty($s['allowed_actions']) ? implode(', ', $s['allowed_actions']) : '—' }} |
| Uses Forward Workflow | {{ !empty($s['uses_forward_workflow']) ? 'Yes' : 'No' }} |
| Meeting | {{ $s['meeting_details'] ?? '—' }} |
| Forward / Review / Signature | {{ $s['forward_count'] ?? 0 }} / {{ $s['review_count'] ?? 0 }} / {{ $s['signature_count'] ?? 0 }} |
{{ $rev['workflow_stage'] ?: '—' }}
@if (!empty($rev['current_actor_id'])) · Actor #{{ $rev['current_actor_id'] }} @endif
No revision chain.
@endforelse| Rule | Result | Detail |
|---|---|---|
| {{ $rule['label'] }} | {{ $rule['result'] }} | {{ $rule['detail'] }} |
Analyzing {{ $perm['user']['name'] }} (#{{ $perm['user']['id'] }}) @if (isset($perm['eligible_recipients_count'])) · eligibleRecipients() count: {{ $perm['eligible_recipients_count'] }} @endif
| Check | Result | Reason if FALSE | Method |
|---|---|---|---|
| {{ $check['label'] }} | @if ($check['allowed']) TRUE @else FALSE @endif | {{ $check['allowed'] ? '—' : ($check['reason'] ?? '—') }} | {{ $check['method'] }} |
Enter a user ID to run live PMS permission methods.
@endif| Date | Action | From | To | Stage | Remarks | Origin | Controller / CLI |
|---|---|---|---|---|---|---|---|
| {{ $row['date'] ?? '—' }} | {{ $row['action'] }} | {{ $row['from_user'] }} | {{ $row['to_user'] }} | {{ $row['stage'] }} |
{{ $row['remarks'] }} | {{ $row['origin'] ?? '—' }} | {{ $row['source'] }} |
| No timeline events. | |||||||
No action buttons. Guidance only for Support.
@foreach ($report['recommendations'] ?? [] as $rec){{ $s['state'] ?? '—' }}{{ $s['workflow_stage'] ?? '—' }}{{ implode(', ', $recoveryResult['changed_fields']) }}{{ $rbSnap['current_owner'] ?? ($rollbackResult['after_rollback']['current_actor_id'] ?? '—') }}
· Stage: {{ $rbSnap['workflow_stage'] ?? ($rollbackResult['after_rollback']['workflow_stage'] ?? '—') }}
· Created By: {{ $rbSnap['created_by_name'] ?? ($rollbackResult['after_rollback']['created_by'] ?? '—') }}
| When | Action | By | Fields | Reason | |
|---|---|---|---|---|---|
| {{ $h['timestamp'] }} | {{ $h['action_type'] }} |
{{ $h['support_user'] }} |
@if (! empty($h['changed_fields']))
{{ implode(', ', $h['changed_fields']) }}
@else
—
@endif
|
{{ $h['reason'] ?: '—' }} | Rollback |
{{ $action['note'] }}
@if (! empty($action['enabled'])) @endif @php $rbForAction = $rollbackableByType[$action['key']] ?? null; @endphp @if ($rbForAction && can('workflow_rescue', 'recover')){{ implode(', ', $rbForAction['changed_fields']) }}
@endif
{{ $h['action_type'] }}
by {{ $h['support_user'] }}
at {{ $h['timestamp'] }}
@if ($h['reason'] !== '') — {{ $h['reason'] }} @endif
@if (! empty($h['rollback_available']) && can('workflow_rescue', 'recover'))
· Rollback
@elseif (! empty($h['rollback_used']))
· rolled back {{ $h['rollback_timestamp'] }}
@endif