{% 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 %} {% if task.is_aqmm_task %}
AQMM / Quality Evidence Task

Documents, work notes and review notes recorded against this task are treated as AQMM evidence.

{{ task.aqmm_status.replace('_',' ').title() }}
Evidence
{{ task.evidence_status.replace('_',' ').title() }}
Manager Review
{{ task.manager_review_status.replace('_',' ').title() }}
Partner Review
{{ task.partner_review_status.replace('_',' ').title() }}
Review Partner
{{ task.review_partner_review_status.replace('_',' ').title() }}
{% if task.aqmm_mandatory %}Mandatory{% endif %} {% if task.aqmm_evidence_required %}Evidence Required{% endif %} {% if task.aqmm_manager_review_required %}Manager Review{% endif %} {% if task.aqmm_partner_review_required %}Partner Review{% endif %} {% if task.aqmm_review_partner_required %}Review Partner Review{% endif %} {% if task.aqmm_blocks_final_release %}Blocks Final Release{% endif %} {% if task.aqmm_reference %}{{ task.aqmm_reference }}{% endif %}
{% if task.rework_status == 'open' %}
Rework required: {{ task.rework_reason or '-' }}
{% endif %}
{% endif %} {% if request.query_params.get('checklist_error') %}
The task could not be completed. Enter the required checklist response, remarks and evidence.
{% 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 %}
{% if (task.response_type or 'NONE') != 'NONE' or task.response_required or task.evidence_required %}
Checklist Response

{{ task.task_category or 'Verification' }}{% if task.response_required %} · Response required{% endif %}{% if task.evidence_required %} · Evidence required{% endif %}

{% if task.response_type == 'YES_NO_NA' %}
{% elif task.response_type == 'YES_NO' %}
{% elif task.response_type == 'TEXT' %}
{% elif task.response_type == 'NUMBER' %}
{% elif task.response_type == 'DATE' %}
{% endif %}
{% endif %}
Task Evidence Cancel {% if can_edit %}{% endif %}
{% if task.is_aqmm_task %}

AQMM Submit & Review

Use this task as the AQMM evidence container. Upload documents first where evidence is required, then submit for review.

Open Evidence
{% if request.query_params.get('submitted') %}
Task submitted for review.
{% endif %} {% if request.query_params.get('reviewed') %}
Review action saved.
{% endif %} {% if request.query_params.get('review_error') %}
Review action failed. Check evidence requirement or rework note.
{% endif %} {% if can_submit_review %}
{% endif %}
{% if task.aqmm_manager_review_required and can_manager_review %}
Manager Review
{% endif %} {% if task.aqmm_partner_review_required and can_partner_review %}
Partner Review
{% endif %} {% if task.aqmm_review_partner_required and can_review_partner_review %}
Review Partner Review
{% endif %}
{% 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 %}