@php $value = $item->itemDetails->where('form_detail_id', $formDetail->id)->value('value'); $isNotApplicable = false; if (is_string($value) && str_starts_with($value, '{')) { $decoded = json_decode($value, true); $isNotApplicable = $decoded['not_applicable'] ?? false; } @endphp
No file selected
(Support PDF format only with max size of 10MB)
@error('form_detail.' . $formDetail->id) {{ $message }} @enderror
id.'_not_applicable', $isNotApplicable))>
@push('scripts') @endpush