@extends('admin.layouts.master') @section('content')

Update Patient

@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif

Update Patient Info

@csrf @if(isset($patient['id'])) {{ method_field('PUT') }} @endif

Questionnaire

@foreach($questionnaire as $key=>$row) @endforeach
Question ID Answer ID Question Answer
{{isset($row->question) ? $row->question->id : ""}} {{isset($row->answer) ? $row->answer->id : ""}} {{isset($row->question) ? $row->question->question : ""}} {{isset($row->answer) ? $row->answer->answer : ""}}
@endsection