{{ block('topnav', 'internal/libs/top-nav.html.twig') }}
Referral List
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_CASE_MANAGER') %}
{% endif %}
Filter:
{% for r in openReferrals %} {% set dateEndWarning = '' %} {% if date('+14 days') >= r.endDate %} {% set dateEndWarning = 'bg-gradient-danger text-white' %} {% elseif date('+28 days') >= r.endDate %} {% set dateEndWarning = 'bg-gradient-faded-warning' %} {% endif %} {% endfor %}
Referral ID Service Hours Rem End Date
{{ r.referralId }}

{{ r.serviceCode.value }}

{{ r.hours }} / {{ r.getHoursRemaining() }}

{{ r.endDate|date("M j, Y") }}

edit edit_note close
Closed Referrals
{% for r in closedReferrals %} {% endfor %}
Referral ID Service Discharge Reason Discharge Date
{{ r.referralId }}

{{ r.serviceCode.value }}

{{ r.dischargeReason.value }}

{{ r.dischargeDate|date("F j, Y") }}