diff --git a/resources/views/form/rapport-demo/1772642221-f77aef51-3671-4205-9650-fa171e1516e4.blade.php b/resources/views/form/rapport-demo/1772642221-f77aef51-3671-4205-9650-fa171e1516e4.blade.php index b95f82f2..2a732b7c 100644 --- a/resources/views/form/rapport-demo/1772642221-f77aef51-3671-4205-9650-fa171e1516e4.blade.php +++ b/resources/views/form/rapport-demo/1772642221-f77aef51-3671-4205-9650-fa171e1516e4.blade.php @@ -207,7 +207,7 @@ {{ $question->required == 'yes' ? 'required' : '' }}> @foreach ($question->options as $option) - @if($question->code=='contact_id') + @if($question->code=='contact_id' && isset($option->contact->type) && $option->contact->type == 'doctor' )