{% extends "base.html" %} {% block content %}

{{ project.project_name }}

{{ project.project_code }} | {{ project.status }}

Edit Back
Progress

{{ project.progress|default(0) }}%

{{ task_analytics.completion_rate|default(0)|round(1) }}% tasks complete
Budget

{{ "%.2f"|format(project.budget|default(0)) }}

Actual: {{ "%.2f"|format(project.actual_cost|default(0)) }}
Tasks

{{ task_analytics.total_tasks|default(0) }}

{{ task_analytics.completed_tasks|default(0) }} completed
Man Hours

{{ task_analytics.total_estimated_hours|default(0) }}

{{ task_analytics.completed_hours|default(0) }} completed
Client & Order Information
Client
{{ project.customer.company_name }}
Client Order Number (PO)
{{ project.client_order_number or "-" }}
Client LPO Number
{{ project.client_lpo_number or "-" }}
MEGCL Work Order Reference
{{ project.work_order_ref or "-" }}
Date Received
{{ project.date_received.strftime('%d %b %Y') if project.date_received else "-" }}
Job Description
{{ project.job_description or project.description or "-" }}
Assignment Details
Assigned To {% if project.assigned_to %} {{ project.assigned_to }} {% else %} Unassigned {% endif %}
Assigned By {{ project.assigned_by or "-" }}
Quotation Reference {% if project.boq_id %} {{ project.boq.quotation_number }} {% else %} - {% endif %}
Enquiry Reference {% if project.enquiry_id %} {{ project.enquiry.enquiry_number }} {% else %} - {% endif %}
Quantities Ordered {% if project.boq and project.boq.items %} {{ project.boq.items|sum(attribute='qty')|round(2) }} {% else %} 0 {% endif %}
Remarks / Comments
{% if project.remarks %}

{{ project.remarks }}

{% else %}

No remarks yet.

{% endif %}
Project Progress
Overall Progress {{ project.progress|default(0) }}%
{{ project.progress|default(0) }}%

Tasks

{{ task_analytics.completion_rate|default(0)|round(1) }}%

{{ task_analytics.completed_tasks|default(0) }}/{{ task_analytics.total_tasks|default(0) }}
Financial

{{ financials.variance_percentage|default(0)|round(1) }}%

{{ financials.status }}
Timeline

{{ timeline.days_remaining|default(0) }}d

{{ timeline.status }}
Timeline
Start Date{{ project.start_date.strftime('%d %b %Y') if project.start_date else "Not set" }}
Expected End{{ project.expected_end_date.strftime('%d %b %Y') if project.expected_end_date else "Not set" }}
Days Planned{{ timeline.days_planned|default(0) }} days
Days Elapsed{{ timeline.days_elapsed|default(0) }} days
Days Remaining {{ timeline.days_remaining|default(0) }} days
Status {{ timeline.status }}
Materials Used
{% if materials.material_list %}
{% for item in materials.material_list %} {% endfor %}
MaterialQtyUnitTotal
{{ item.description|truncate(30) }} {{ item.quantity }} {{ item.unit }} {{ "%.2f"|format(item.total) }}
Total Materials Cost{{ "%.2f"|format(materials.total_materials_cost) }}
Total Quantity{{ materials.total_quantity|round(2) }}
{% else %}

No materials linked to this project

{% endif %}
Financial Summary
Budget{{ "%.2f"|format(financials.budget|default(0)) }}
BOQ Total{{ "%.2f"|format(financials.boq_total|default(0)) }}
Actual Cost{{ "%.2f"|format(financials.actual_cost|default(0)) }}
Variance {{ "%.2f"|format(financials.variance|default(0)) }}
Variance % {{ financials.variance_percentage|default(0)|round(1) }}%
Status {{ financials.status }}
Task Summary & Man Hours
Task Breakdown
Total Tasks{{ task_analytics.total_tasks|default(0) }}
Completed{{ task_analytics.completed_tasks|default(0) }}
In Progress{{ task_analytics.in_progress_tasks|default(0) }}
To Do{{ task_analytics.todo_tasks|default(0) }}
Man Hours (Estimated)
Total Hours{{ task_analytics.total_estimated_hours|default(0) }}
Completed Hours{{ task_analytics.completed_hours|default(0) }}
Remaining Hours{{ task_analytics.remaining_hours|default(0) }}
{{ task_analytics.completion_rate|default(0)|round(1) }}%
Linked Tasks {{ tasks|length }}
{% if tasks %}
{% for task in tasks %} {% endfor %}
TaskStatusPriorityAssigned ToDue Date
{{ task.title }} {{ task.status }} {{ task.priority }} {{ task.assigned_to or "-" }} {{ task.due_date.strftime('%d %b %Y') if task.due_date else "-" }}
{% else %}

No tasks linked to this project

{% endif %}
Quick Actions
Edit Project Procurement List New Enquiry Create BOQ
{% endblock %}