{% load django_bootstrap5 %} {% load i18n %} {% load custom_template_filters %} {% block content %} {% if request.user.id == object.professional.id %}

Current Report Status

Based on last update from you.

  • Consult Status: {{ referral_workflow.get_current_task_pretty_name }}
  • Total Reported Hours: {% if engagement_reported_hours %}{{ engagement_reported_hours }} {% else %} 0 {% endif %} hours
{% if not referral_workflow.workflow_completed %}
{% if referral_workflow.workflow_task_update_url %} Update Report {% else %} Update Report {% endif %}
{% endif %}

Your Engagment Reports

{% if engagement_reports %} {% for report in engagement_reports %} {% endfor %} {% else %} {% endif %}
Hours Worked Notes Status Reported Reported On
{% if report.hours_worked %} {{report.hours_worked}} hours {% else %} - {% endif %} {% if report.notes %} {% if report.notes|length > 50 %}

{{report.notes | slice:":51"}}...{{report.notes | slice:"51:"}}

{% else %} {{report.notes}} {% endif %} {% else %} - {% endif %}
{{ report.history_object.get_current_task_pretty_name }} {{report.updated_at | date:"M d, Y"}}
No hourly engagement reports

Notifications Sent

{% if notification_logs %} {% for notification in notification_logs %} {% endfor %} {% else %} {% endif %}
Purpose Sent On
{{notification.sent_for}} {{notification.sent_at | date:"M d, Y"}}
No notifications sent!

{% endif %} {% if request.user.is_staff %}

Current Report Status

Based on last activity by the professional.

  • Consult Status: {{ referral_workflow.get_current_task_pretty_name }}
  • Total Reported Hours: {% if engagement_reported_hours %} {{ engagement_reported_hours }} {% else %} 0 {% endif %} hours

Current Workflow Node

{{ referral_workflow.get_current_task_pretty_name }}

All Logs

{% if all_admin_logs %} {% for log in all_admin_logs %} {% endfor %} {% else %} {% endif %}
Type Activity Time
{% if log.type == 'status_report'%} Report {% endif %} {% if log.type == 'notification'%} Notification {% endif %} {% if log.type == 'status_report'%} Status Updated To: {{log.report_status}} {% if log.hours_worked > 0 %}

Hours: {{log.hours_worked}} hours {% endif %} {% if log.notes %}

Notes: {% if log.notes|length > 50 %}

{{log.notes | slice:":51"}}...{{log.notes | slice:"51:"}}

{% else %} {{log.notes}} {% endif %} {% endif %} {% endif %} {% if log.type == 'notification'%} {{log.email_type}} {% endif %}
{{log.timestamp | date:"M d, Y H:i A"}}
No logs available.

{% endif %} {% endblock %}