{% extends 'base.html' %}{% block title %}Production Intelligence{% endblock %}{% block breadcrumb %}Operations / Intelligence{% endblock %} {% block content %}
GENEZ PRINT · PRODUCTION INTELLIGENCE

Keep every print job moving.

Monitor overdue deadlines, unassigned work, pending artwork approvals and material shortages. Alerts never override production safeguards.

← Production Control{% if can_manage %}
{% csrf_token %}
{% endif %}
Active alerts{{ total }}Across permitted jobs
Overdue{{ counts.overdue }}Due date has passed
Due within 24h{{ counts.due_soon }}Priority follow-up
Unassigned jobs{{ counts.unassigned }}Branch or staff missing
Proofs pending{{ counts.awaiting_proof }}Customer review required
Low stock{{ counts.low_stock }}At or below reorder point

Action queue

Acknowledging an alert records staff review; it does not resolve the production problem.

{% for a in alerts %}
{{ a.get_kind_display }}{% if a.acknowledged_at %}Acknowledged{% endif %}
{% if a.job_id %}
Job #{{ a.job_id }} · {{ a.job.order_item.product_name }} · {{ a.job.order_item.order.order_number }}

{{ a.job.branch.name|default:'Branch unassigned' }} · {{ a.job.get_status_display }}{% if a.job.due_at %} · Due {{ a.job.due_at|date:'d M Y, H:i' }}{% endif %}

{% elif a.stock_id %}
{{ a.stock.material.name }} · {{ a.stock.branch.name }}

Available {{ a.stock.quantity }} {{ a.stock.material.unit }} · Reorder at {{ a.stock.material.reorder_threshold }}

{% endif %}{% if a.acknowledged_at %}

Reviewed by {{ a.acknowledged_by|default:'staff' }} · {{ a.acknowledged_at|date:'d M Y, H:i' }}

{% endif %}
{% if a.job_id %}View job{% endif %}{% if can_manage %}{% if a.kind == 'awaiting_proof' %}
{% csrf_token %}
{% endif %}{% if not a.acknowledged_at %}
{% csrf_token %}
{% endif %}{% endif %}
{% empty %}
No active alerts in this view

{% if can_manage %}Run “Refresh risk alerts” to scan current jobs and branch stock.{% else %}Ask a manager to refresh the production risk scan.{% endif %}

{% endfor %}
How alerts work

Only paid or active orders are evaluated for job risks. The current approved proof, payment checks, preflight clearance and inventory rules remain authoritative.

Customer reminders

Managers can send a private, in-app reminder for the latest pending proof. Repeat messages for the same proof are limited to once per 24 hours.

Refresh schedule

The scan also runs using python manage.py scan_genez_production. Schedule that command on your server if you want the dashboard refreshed automatically.

{% endblock %}