{% extends "base.html" %} {% block title %}صفحة الشحنات{% endblock %} {% block content %}

{{ total_shipments }}

إجمالي الشحنات

{{ delivered_count }}

تم التسليم

{{ in_transit_count }}

في الطريق

{{ pending_count }}

في الانتظار

الشحنات العامة

إضافة شحنة جديدة
{% for shipment in regular_shipments %} {% else %} {% endfor %}
رقم التتبع اسم المرسل اسم المستلم هاتف المستلم حالة الشحنة التاريخ الإجراءات
{% if shipment.package_type == 'document' %} {{ shipment.tracking_number }} {% else %} {{ shipment.tracking_number }} {% endif %}
{{ shipment.sender_name }}
{{ shipment.receiver_name }}
{{ shipment.receiver_phone }}
{% if shipment.status == 'delivered' %} تم التسليم {% elif shipment.status == 'in_transit' %} في الطريق {% elif shipment.status == 'shipped' %} تم الإرسال {% elif shipment.status == 'packaged' %} تم التغليف {% elif shipment.status == 'cancelled' %} ملغي {% else %} تم الإنشاء {% endif %}
{{ shipment.created_at.strftime('%Y-%m-%d') }}
{{ shipment.created_at.strftime('%H:%M') }}
لا توجد شحنات عامة

لم يتم العثور على أي شحنات عامة في النظام

{% if regular_shipments %} {% endif %}

شحنات المستندات

إضافة شحنة مستندات
{% for shipment in document_shipments %} {% else %} {% endfor %}
رقم التتبع اسم المرسل اسم المستلم هاتف المستلم حالة الشحنة التاريخ
{{ shipment.sender_name }}
{{ shipment.receiver_name }}
{{ shipment.receiver_phone }}
{% if shipment.status == 'delivered' %} تم التسليم {% elif shipment.status == 'in_transit' %} في الطريق {% elif shipment.status == 'shipped' %} تم الإرسال {% elif shipment.status == 'packaged' %} تم التغليف {% elif shipment.status == 'cancelled' %} ملغي {% else %} تم الإنشاء {% endif %}
{{ shipment.created_at.strftime('%Y-%m-%d') }}
{{ shipment.created_at.strftime('%H:%M') }}
لا توجد شحنات مستندات

لم يتم العثور على أي شحنات مستندات في النظام

{% if document_shipments %} {% endif %}
{% endblock %}