{% extends "pos/base.html" %} {% load humanize %} {% block title %}Stock Issuer Dashboard{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
{% for m in messages %}
{{ m }}
{% endfor %}
Stock Issuer Dashboard
Pick any active job or a pending requisition on the left — issue parts against it, right here
All Jobs
{% csrf_token %}
{# ── LEFT: two stacked sections ─────────────────────────────────── #}
↓ browse  Enter select  Esc back to search  / add part  Ctrl+S save  Ctrl+Enter send
{# TOP — Active Jobs (any in-progress job, free issuance) #}
Active Jobs issue freely
{% for j in active_jobs %}
#{{ j.job_no }} {{ j.vehicle.reg_no }}
{{ j.get_status_display }}
{{ j.vehicle.make }} {{ j.vehicle.model }} · {{ j.vehicle.owner_name|default:"—" }} {% if j.pit %}· Pit: {{ j.pit }}{% endif %}
{% empty %}
No active jobs right now.
{% endfor %}
{# BOTTOM — Requests (formal requisitions from Advisor) #}
Requests from advisor
{% for j in jobs %}
#{{ j.job_no }} {{ j.vehicle.reg_no }}
{{ j.parts.count }} part{{ j.parts.count|pluralize }}
{{ j.vehicle.make }} {{ j.vehicle.model }} · {{ j.vehicle.owner_name|default:"—" }} {% if j.pit %}· Pit: {{ j.pit }}{% endif %}
{% empty %}
No pending requisitions right now.
{% endfor %}
{# ── RIGHT: Selected job — issue parts ─────────────────────────── #}
Select a job from either list to issue its parts.
{% endblock %} {% block javascripts %} {% endblock %}