{% extends 'base.html.twig' %} {% block body %} {{ block('nav', 'internal/libs/nav.html.twig') }} {{ block('topnav', 'internal/libs/top-nav.html.twig') }} Add Referral Note {{ referral.memberCase.caseName }} {{ form_start(form) }} {{ form_errors(form) }} {% set endDateWarning = '' %} {% if date("+28 days") >= referral.endDate %} {% set endDateWarning = 'bg-gradient-warning' %} {% elseif date("+14 days") >= referral.endDate %} {% set endDateWarning = 'bg-gradient-danger text-white' %} {% endif %} Hours: {{ referral.hours }} / Remaining: {{ referral.getHoursRemaining() }} Expiration Date: {{ referral.endDate|date('M j, Y') }} -- Status -- {% for s in enum('App\\Enums\\NoteStatus').cases() %} {{ s.value|capitalize }} {% endfor %} -- Location -- {% for l in enum('App\\Enums\\NoteLocation').cases() %} {{ l.value }} {% endfor %} -- Method -- {% for m in enum('App\\Enums\\NoteMethod').cases() %} {{ m.name|replace({'_': ' '})|lower|capitalize }} {% endfor %} Parental Role -- Select -- {% for q in enum('App\\Enums\\VisitQualityLevel').cases() %} {{ q.name|lower|capitalize }} {% endfor %} Child Development -- Select -- {% for q in enum('App\\Enums\\VisitQualityLevel').cases() %} {{ q.name|lower|capitalize }} {% endfor %} Appropriate Response -- Select -- {% for q in enum('App\\Enums\\VisitQualityLevel').cases() %} {{ q.name|lower|capitalize }} {% endfor %} Child Ahead Of Self -- Select -- {% for q in enum('App\\Enums\\VisitQualityLevel').cases() %} {{ q.name|lower|capitalize }} {% endfor %} Shows Empathy -- Select -- {% for q in enum('App\\Enums\\VisitQualityLevel').cases() %} {{ q.name|lower|capitalize }} {% endfor %} Child Focused -- Select -- {% for q in enum('App\\Enums\\VisitQualityLevel').cases() %} {{ q.name|lower|capitalize }} {% endfor %} {{ form_row(form.members, { 'label': 'Members Present', 'label_attr': {'class': ''}, 'attr': {'class': 'form-control'} }) }} Observed Narrative Observed Strengths Observed Issues Recommendation Save Note {{ form_end(form) }} {% endblock %}
{{ referral.memberCase.caseName }}