@props(['field', 'label', 'scrutiny','remarkOptions']) @php if (is_string($remarkOptions)) { $decoded = json_decode(htmlspecialchars_decode($remarkOptions), true); $remarkOptions = is_array($decoded) ? $decoded : []; } $remarkOptions = $remarkOptions ?? []; @endphp
Scrutiny of Serial no: {{ $label ?? ucwords($field) }}
@error("scrutiny.{{ $field }}.status") @enderror
@error("scrutiny.{{ $field }}.remarks") @enderror
@if($scrutiny['status'] === 'Y')
scrutiny icon
@elseif($scrutiny['status'] === 'N')
scrutiny icon
@else
scrutiny icon
@endif