{% extends 'slips/base.html' %} {% load static %} {% block title %}Data Entry — Label Printer{% endblock %} {% block nav_entry_active %}active{% endblock %} {% block content %}

New Order

📋
Canisters: - | Boxes: - | - pages

Recent Orders

{{ orders|length }}
{% for o in orders %} {% empty %} {% endfor %}
# Product Batch Labels Pages Status
{{ o.id }} {{ o.product.code }} {{ o.batch_number }}
{% if o.status == 'pending' %}
{{ o.canister_weight|floatformat:-2 }} kg {{ o.canister_count }}
{{ o.box_weight|floatformat:-2 }} kg {{ o.box_count }}
{% else %}
{{ o.canister_weight|floatformat:-2 }} kg × {{ o.canister_count }}
{{ o.box_weight|floatformat:-2 }} kg × {{ o.box_count }}
{% endif %}
{% if o.custom_labels %}
{% if o.status == 'pending' %} {% for line in o.custom_labels %}
{{ line.weight|floatformat:-2 }} kg {{ line.count }}
{% endfor %} {% else %} {% for line in o.custom_labels %}
{{ line.weight|floatformat:-2 }} kg × {{ line.count }}
{% endfor %} {% endif %}
{% endif %}
{{ o.canister_pages|add:o.box_pages }} {% if o.status == 'pending' %} ⏳ Pending {% elif o.status == 'done' %} ✓ Done {% elif o.status == 'printing' %} 🖨 Printing {% else %} ✕ Cancelled {% endif %}
No orders yet
{% endblock %} {% block extra_scripts %} {% endblock %}