{% extends "ui/templates/base/layout.html" %} {% block content %}

Update Service Task

{{ task.client.client_name if task.client else '-' }} ยท {{ task.catalogue.service_name if task.catalogue else '-' }}

Back
{{ task.sequence_no }}. {{ task.task_name }}
{% if task.description %}

{{ task.description }}

{% endif %}
Engagement Due Date: {{ task.subscription.current_due_date if task.subscription and task.subscription.current_due_date else '-' }}
Internal Target Date: {{ task.internal_target_date or '-' }}
{% if task.is_task_overdue %}
This task is overdue based on the internal target date.
{% elif task.is_due_today %}
This task is due today based on the internal target date.
{% endif %}

Internal office target date. Statutory due date remains at engagement level.

{% if not can_reassign and task.assigned_to %}

Assignee changes are restricted for this role.

{% endif %} {% if can_edit and not can_manage_fields %}

You can update status and work note only for your own assigned task.

{% endif %}
Cancel {% if can_edit %}{% endif %}

Task Communication Timeline

Record internal notes, client clarifications, consultant clarifications, and partner review notes for this task.

{% if task.subscription and task.subscription.is_locked %} Locked {% endif %}
{% if can_add_comment and comment_type_options %}

Client/consultant visibility is stored now and will be used when portals are enabled.

{% else %}
Communication entry is not available for this task or role.
{% endif %}
{% if comments %} {% for comment in comments %}
{% set type_label = comment.comment_type.replace('_', ' ').title() %} {% set visibility_label = comment.visibility.replace('_', ' ').title() %} {{ type_label }} {{ visibility_label }}
{{ comment.created_at_utc }}
{{ comment.created_by.full_name or comment.created_by.email if comment.created_by else 'System' }}

{{ comment.message }}

{% endfor %} {% else %}
No task communication recorded yet.
{% endif %}
{% endblock %}