{% extends "base.html" %} {% block title %}Task Manager - Vera Medical CMS{% endblock %} {% block content %}

Task Manager

Manage follow-up tasks and reminders

New Task
{% if pending_count > 0 or overdue_count > 0 %}
{% if overdue_count > 0 %}

{{ overdue_count }} Overdue Task(s)

Some tasks are past their due date and require attention.

View Tasks
{% endif %} {% if pending_count > 0 %}

{{ pending_count }} Pending Task(s)

Tasks waiting to be completed.

View Pending
{% endif %}
{% endif %}
{% if tasks %}
{% for task in tasks %} {% endfor %}
Task Linked To Due Date Priority Status Assigned To Actions
{{ task.task_title }}
{% if task.task_description %}
{{ task.task_description[:100] }}{% if task.task_description|length > 100 %}...{% endif %}
{% endif %}
{% if task.file_case_id %} Case: {{ task.file_case_id }} {% endif %} {% if task.appointment_date %}
Appt: {{ task.appointment_date }}
{% endif %} {% if task.invoice_number %}
Invoice: {{ task.invoice_number }}
{% endif %} {% if not task.file_case_id and not task.appointment_date and not task.invoice_number %} - {% endif %}
{% if task.due_date %} {% set task_date_str = task.due_date|string %} {% set today_str = today|string %} {% if task_date_str < today_str and task.status == 'pending' %} {{ task.due_date }} (Overdue) {% else %} {{ task.due_date }} {% endif %} {% else %} No due date {% endif %} {{ task.priority|title }} {{ task.status|replace('_', ' ')|title }} {{ task.assigned_to or '-' }} View Edit
{% else %}

No Tasks Found

Get started by creating your first task.

Create Task
{% endif %} {% endblock %}