{% extends "ui/templates/base/layout.html" %} {% block content %}
{{ engagement.client.client_name if engagement.client else '-' }} · {{ engagement.catalogue.service_name if engagement.catalogue else '-' }} · FY {{ engagement.financial_year }}
| Document | Type | Latest Version | Storage | Revision History | Action |
|---|---|---|---|---|---|
{{ doc.title }} {{ doc.document_code }}{% if doc.description %} · {{ doc.description }}{% endif %} |
{{ doc.document_type.replace('_',' ').title() }} | {% if latest %} v{{ latest.version_no }} · {{ latest.original_filename }} {{ (latest.file_size_bytes / 1024)|round(1) }} KB · {{ latest.uploaded_at_utc }} {% else %}-{% endif %} |
{% if latest %}
{{ latest.storage_status.replace('_',' ').title() }}
{{ latest.local_relative_path }}
{% else %}-{% endif %}
|
{% for v in doc.versions %}
v{{ v.version_no }} · {{ v.original_filename }}{% if v.remarks %} · {{ v.remarks }}{% endif %}
{% endfor %}
|
{% if latest %}Download Latest{% endif %} {% if can_upload %} {% endif %} |
| No documents uploaded for this engagement. | |||||
Used when the ERP staged file is unavailable and the file must be pulled back from branch local storage.
| Request | Version | Status | Created | Action |
|---|---|---|---|---|
| #{{ req.id }} | v{{ req.version.version_no if req.version else req.version_id }} | {{ req.request_status.replace('_',' ').title() }} | {{ req.created_at_utc }} | {% if req.request_status == 'ready' %}Download{% else %}Waiting for local app{% endif %} |