{% extends "base.html" %} {% block title %}{% if scope == 'all' %}All Jobcards{% else %}My Jobcards{% endif %}{% endblock %} {% block header %}Operations{% endblock %} {% block content %}
Operations Desk

{% if scope == 'all' %}All Jobcards{% else %}My Jobcards{% endif %}

Track jobcards, production status, billing movement, ownership and client details.
{% if current_user.has_perm("operations.jobcard.view_all") %} All Jobcards {% endif %} My Jobcards
Total
{{ summary.total }}
Submitted
{{ summary.submitted }}
Assigned
{{ summary.assigned }}
In Progress
{{ summary.in_progress }}
Completed
{{ summary.completed }}
Ready Billing
{{ summary.ready_for_billing }}
PI Raised
{{ summary.pi_raised or 0 }}
Invoice Raised
{{ summary.invoice_raised or 0 }}
Jobcard Filters
Find the exact jobcards you need
Use the primary filters first, then expand advanced filters when needed.
Advanced Criteria
{% if scope == 'all' %}
{% endif %}
{% for jc in pagination.items %} {% set quote = jc.quote %} {% set latest_pi = latest_pi_by_quote.get(jc.quote_id) if latest_pi_by_quote is defined and jc.quote_id else none %} {% set latest_invoice = latest_invoice_by_quote.get(jc.quote_id) if latest_invoice_by_quote is defined and jc.quote_id else none %} {% set effective_client_deadline = jc.client_deadline or (quote.client_deadline if quote else none) %} {% else %} {% endfor %}
Jobcard Quote / Opportunity Client Services Owner Assigned By Status Client Deadline Created Action
JC
{{ jc.jobcard_code }}
Record #{{ jc.id }}
{% if not effective_client_deadline %} Client deadline missing {% endif %}
{% if quote %} {{ quote.quote_code }}
{{ quote.opportunity.title if quote.opportunity else '—' }}
{% else %} — {% endif %}
{{ jc.client.company_name if jc.client else '—' }}
{{ jc.branch.branch_location if jc.branch else '—' }} {% if jc.branch and jc.branch.city %}, {{ jc.branch.city }}{% endif %}
{% set ns = namespace(unique_services=[], total_services=0) %} {% for service_row in jc.services.all() %} {% set ns.total_services = ns.total_services + 1 %} {% set service_name = (service_row.service_name or 'Service')|trim %} {% if service_name not in ns.unique_services and ns.unique_services|length < 3 %} {{ service_name }} {% set ns.unique_services = ns.unique_services + [service_name] %} {% endif %} {% endfor %} {% if ns.total_services > ns.unique_services|length %} +{{ ns.total_services - ns.unique_services|length }} {% endif %}
{{ jc.current_owner.name if jc.current_owner else (jc.assigned_to.name if jc.assigned_to else '—') }}
{% if jc.current_owner and jc.assigned_to and jc.current_owner_id != jc.assigned_to_id %}
Transferred from {{ jc.assigned_to.name }}
{% else %}
Project Manager
{% endif %}
{{ jc.assigned_by.name if jc.assigned_by else '—' }}
{% if latest_invoice %} Invoice Raised {% elif latest_pi %} PI Raised {% elif jc.status == 'Completed' %} Completed {% elif jc.status == 'Ready For Billing' %} Ready For Billing {% elif jc.status == 'In Progress' %} In Progress {% elif jc.status == 'On Hold' %} On Hold {% elif jc.status == 'Cancelled' %} Cancelled {% else %} {{ jc.status or 'Submitted' }} {% endif %} {% if effective_client_deadline %}
{{ effective_client_deadline.strftime('%d %b %Y') }}
{{ effective_client_deadline.strftime('%I:%M %p') }} {% else %} Not entered
Open jobcard to add
{% endif %}
{{ jc.created_at.strftime('%d %b %Y') if jc.created_at else '—' }}
{{ jc.created_at.strftime('%I:%M %p') if jc.created_at else '' }}
View
No jobcards found
Try changing filters or search keywords.
{% if pagination.pages > 1 %} {% endif %}
{% endblock %}