{% extends "pos/base.html" %} {% load humanize %} {% block title %}Workshop Jobs{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
| Job # | Date | Pit | Reg. No. | Vehicle | Owner | Billing | Net Amount | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|
|
#{{ job.job_no }}
{% if job.invoice_no %}
Inv #{{ job.invoice_no }}
{% endif %}
|
{# Date #}
{{ job.job_date|date:"d-M-y" }} | {# Pit #}{{ job.pit|default:"—" }} | {# Vehicle #}{{ job.vehicle.reg_no }} | {{ job.vehicle.make }} {{ job.vehicle.model }} {% if job.vehicle.year %} '{{ job.vehicle.year|stringformat:"s"|slice:"-2:" }} {% endif %} | {# Owner #}
{{ job.vehicle.owner_name|default:"—" }}
{% if job.vehicle.owner_mobile %}
{{ job.vehicle.owner_mobile }}
{% endif %}
|
{# Billing #}
{% if job.billing_type == "cash" %} Cash {% elif job.billing_type == "credit" %} Credit {% elif job.billing_type == "corporate" %} Corporate {% elif job.billing_type == "insurance" %} Insurance {% elif job.billing_type == "complimentary" %} Compl. {% endif %} | {# Net Amount #}{% if job.net_amount %} {{ job.net_amount|floatformat:0|intcomma }} {% else %} — {% endif %} | {# Status #}{% if job.status == "draft" %} Draft {% elif job.status == "in_progress" %} In Progress {% elif job.status == "parts_requested" %} Parts Req. {% elif job.status == "ready" %} Ready {% elif job.status == "invoiced" %} Invoiced {% endif %} | {# Actions #}
{# View — always #}
{% if job.status == "draft" or job.status == "in_progress" %}
{% endif %}
{% if job.status == "in_progress" %}
{% endif %}
Job Card
{% if 'delete_job_card' in allowed_features %}
{% endif %}
|