@extends('layouts.app') @section('title', 'Workflow Rescue Center') @section('contents')
PMS Support / Super Admin only. Diagnose imported PCFMS workflow issues. Safe Recovery is validated, audited, and reversible — one field at a time. This does not replace or bypass the normal workflow engine.
@foreach ([ ['imported_pcs', 'Total Imported PCs', 'bg-info', 'fa-file-import'], ['in_workflow', 'Imported PCs In Workflow', 'bg-primary', 'fa-project-diagram'], ['never_initialized', 'Never Initialized', 'bg-secondary', 'fa-ban'], ['missing_actor', 'Missing Actor', 'bg-danger', 'fa-user-slash'], ['missing_workflow_stage', 'Missing Workflow Stage', 'bg-warning', 'fa-flag'], ['missing_created_by', 'Missing Created By', 'bg-warning', 'fa-user-edit'], ['missing_meeting', 'Missing Meeting', 'bg-secondary', 'fa-calendar-times'], ['no_forward_history', 'No Forward History', 'bg-dark', 'fa-history'], ['currently_active', 'Currently Active', 'bg-success', 'fa-check'], ['safe_to_initialize', 'Safe To Initialize', 'bg-primary', 'fa-shield-alt'], ] as [$key, $label, $bg, $icon])

{{ number_format($stats[$key] ?? 0) }}

{{ $label }}

@endforeach

Quick actions

Search @if (can('workflow_rescue', 'logs')) Audit Log @endif @if ($recoveryEnabled) Safe Recovery enabled (validated · audited · reversible) @else Recovery disabled @endif
@endsection