{% extends "base.html" %} {% block title %}My QC Tasks{% endblock %} {% block header %}My QC Tasks{% endblock %} {% block content %}
| Quote | Jobcard | QC Line Item | QC Qty | Assigned | Deadline | Status | Action |
|---|---|---|---|---|---|---|---|
|
{% if quote %}
{{ quote.quote_code }}
Quote ID: #{{ quote.id }}
{% else %}
—
{% endif %}
|
QC
{{ jc.jobcard_code if jc else '—' }}
{{ jc.client.company_name if jc and jc.client else '—' }}
|
{{ svc.service_name if svc else 'Service Not Mapped' }}
{% if svc and svc.quote_item %}
{{ svc.quote_item.item_name }}
{% endif %}
{% if assignment.instruction %}
{{ assignment.instruction[:80] }}
{% if assignment.instruction|length > 80 %}...{% endif %}
{% endif %}
|
{{ assignment.assigned_qty or 0 }}
QC Quantity
|
{{ assignment.assigned_at.strftime('%d %b %Y') if assignment.assigned_at else '—' }}
{{ assignment.assigned_at.strftime('%I:%M %p') if assignment.assigned_at else '' }}
|
{% if assignment.deadline %}
{{ assignment.deadline.strftime('%d %b %Y') }}
{{ assignment.deadline.strftime('%I:%M %p') }}
{% else %}
—
{% endif %}
|
{% if assignment.status == "Completed" %} Completed {% elif assignment.status == "In Progress" %} In Progress {% elif assignment.status == "On Hold" %} On Hold {% else %} {{ assignment.status or 'Assigned' }} {% endif %} |
{% set can_transfer_assignment = assignment.status != "Completed" and jc is not none and jc.status not in ["Ready For Billing", "Closure Approval Pending"] %}
View
{% if can_transfer_assignment %}
{% endif %}
|
No QC tasks assigned
Assigned quality check tasks will appear here.
|
|||||||