@extends('layouts.app') @section('title', 'R10 Tools — PC #'.$pcFormId) @section('contents')
@php $issue = $page['issue']; $form = $page['form']; @endphp
Scheme
UID
{{ $issue['scheme_uid'] ?? '—' }}
ADP #
{{ ($issue['adp_number'] ?? '') !== '' ? $issue['adp_number'] : '—' }}
Scheme name
{{ ($issue['scheme_name'] ?? '') !== '' ? $issue['scheme_name'] : '—' }}
PC form
#{{ $form['id'] }} · {{ $form['kind'] }}
BMS status
{{ $issue['bms_status'] ?? 'Approved' }}
BMS approved date
{{ $issue['bms_approved_at'] ?? '—' }}
PCFMS status
{{ $issue['pcfms_status'] ?? '—' }}
Migration status
{{ $issue['migration_status'] ?? 'PCFMS migrated' }}
SDPMS status
{{ $form['state'] ?: '—' }} · {{ $form['pms_label'] }}
Hops
{{ $issue['hops'] ?? 0 }}
Drafts (total / active)
{{ $issue['total_drafts'] ?? 0 }} / {{ $issue['active_drafts'] ?? 0 }}
Active PC
{{ !empty($form['status']) ? 'Yes' : 'No' }}
Tools (SDPMS course only)

Marks this PCFMS-migrated PC as Approved in SDPMS because BBMS is already Approved. Does not change BBMS. Writes a rollback batch.

@foreach ($page['tools'] as $tool) @php $enabled = array_key_exists('enabled', $tool) ? (bool) $tool['enabled'] : true; @endphp
{{ $tool['label'] }}
{{ $tool['help'] }}
@if (! $enabled && ($tool['disabled_reason'] ?? '') !== '')
{{ $tool['disabled_reason'] }}
@endif
@if ($enabled)
@csrf
@else @endif
@endforeach
Recent R10 actions for this PC
@forelse (($page['batches'] ?? []) as $batch) @empty @endforelse
Batch When Summary
#{{ $batch['id'] }} {{ $batch['created_at'] }} {{ $batch['summary'] }} @if (! empty($batch['rolled_back'])) Rolled back @else
@csrf
@endif
No R10 actions for this PC yet.
@endsection