{% extends "base.html" %} {% block title %}صفحة الشحنات{% endblock %} {% block content %}
عرض وإدارة جميع الشحنات في النظام
إجمالي الشحنات
تم التسليم
في الطريق
في الانتظار
رقم التتبع | اسم المرسل | اسم المستلم | هاتف المستلم | حالة الشحنة | التاريخ | الإجراءات |
---|---|---|---|---|---|---|
{% 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') }}
|
|
رقم التتبع | اسم المرسل | اسم المستلم | هاتف المستلم | حالة الشحنة | التاريخ |
---|---|---|---|---|---|
{{ 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') }}
|
|