@extends('crm.layouts.app') @section('title', 'Health Questionnaires') @section('content')
Manage health questionnaires and client responses
This will create a standard health screening questionnaire with pre-configured questions for tattoo clients. Continue?
{{ session('success') }}
{{ session('error') }}
| Name | Status | Questions | Responses | Pending | Created | Actions |
|---|---|---|---|---|---|---|
|
{{ $questionnaire->title }}
@if($questionnaire->description)
{{ Str::limit($questionnaire->description, 60) }}
@endif
|
@if($questionnaire->is_active) Active @else Inactive @endif | {{ count($questionnaire->questions) }} | {{ $questionnaire->responses_count }} | @php $pending = $questionnaire->responses->where('completed_at', '!=', null)->where('is_approved', false)->where('approved_at', null)->count(); @endphp @if($pending > 0) {{ $pending }} @else 0 @endif | {{ $questionnaire->created_at->format('M j, Y') }} |
Get started by creating your first health questionnaire.