{{-- resources/views/probation/cases/create.blade.php Case Registry capture — adapts to the selected case type. The fields captured here ARE that stream's ledger. Uses $officers, $sources, $agencies, $module. Probation-user feedback applied: · Social Inquiry: full Case (Referral) Ledger; Disposal is captured in the Outcome tab. · Probation Order / CSO: "Direct placement" or "Retrieve from social inquiry" (default, searchable); Probationer / CSO Client; no Source of Inquiry; no safeguarding flags; "Date placed" / "Date of expiry". · Aftercare: retrieve from social inquiry (Final home report) only; Borstal or POMAC. --}} @extends('layouts.app') @section('title', 'Register ' . $module['title'] . ' - ICMIS') @push('styles') @include('probation._styles') @endpush @section('content') @php $ct = $module['caseType']; $isSI = $ct === 'social_inquiry'; $isConvert = !empty($module['convertible']); // probation_order / community_service / aftercare_borstal $isAftercare = $ct === 'aftercare_borstal'; $isCso = $ct === 'community_service'; $direct = $module['directAllowed'] ?? true; $client = $module['clientLabel'] ?? 'Offender'; $sources = $sources ?? collect(); $agencies = $agencies ?? collect(); $step = 0; $retrieveLbl = $isAftercare ? 'Retrieve from social inquiry (Final home report)' : 'Retrieve from social inquiry'; @endphp