{% extends "base.html" %} {% block title %}Delivery simulator — SendParcel Demo{% endblock %} {% block page_title %}Delivery simulator{% endblock %} {% block content %}

Operator panel

Simulates the behavior of a courier company. Click a button to send a status change callback.
{% if shipments %}
{% for shipment in shipments %} {% endfor %}
ID Order Provider Tracking number Status Actions
{{ shipment.pk }} #{{ shipment.order.pk }} {{ shipment.provider }} {{ shipment.tracking_number|default:"—" }} {{ shipment.get_status_display }}
{% if shipment.status == 'label_ready' or shipment.status == 'created' %}
{% csrf_token %}
{% endif %} {% if shipment.status == 'in_transit' %}
{% csrf_token %}
{% csrf_token %}
{% endif %} {% if shipment.status == 'out_for_delivery' %}
{% csrf_token %}
{% csrf_token %}
{% endif %} {% if shipment.status == 'new' or shipment.status == 'created' or shipment.status == 'label_ready' %}
{% csrf_token %}
{% endif %}
{% else %}

No shipments

Create an order and a shipment to see them here.

{% endif %}
{% endblock %}