{% if process.pk %} {% with process.shipment as shipment %}
Shipment #{{ shipment.shipment_no }}
{% if perms.shipment.change_shipment %} (edit) {% endif %} {% for item in shipment.shipmentitem_set.all %} {% empty %} {% endfor %}
Item Count
{{ item.name }} {{ item.quantity }}
No items in shipment
Address
{{ shipment.zipcode }}, {{ shipment.country }}, {{ shipment.city }}, {{ shipment.state }}
{{ shipment.address }}

Phone: {{ shipment.phone }}
{% if shipment.carrier or shipment.insurance %}
Delivery
{% if shipment.carrier %} Carrier: {{ shipment.carrier.name }} {% if perms.shipment.change_carrier %} (edit) {% endif %}
{% endif %} {% if shipment.insurance %} Insurance: {{ shipment.insurance.company_name }} {{ shipment.insurance.cost}} {% if perms.shipment.change_insurance %} (edit) {% endif %}
{% endif %}
{% endif %}
{% endwith %} {% endif %}