{% for i in parceldata %}
{% ifequal request.session.userrole 'driver' %}{% else %}
{% endifequal %}
{% ifequal request.session.userrole 'driver' %}{% else %}
{% if i.driverdetails %}
{% endif %}
{% endifequal %}
{% ifequal i.deliveryIsFailedOrNot True %}
{% endifequal %}
{% ifequal i.driverexist True %}
{% ifequal title 'no' %}
{% if i.driverdetails.completeStatus == True %}
{% else %}
{% endifequal %}
{% endifequal %}
Parcel Details : {% ifequal request.session.userrole 'customer' %} Raise Ticket{% endifequal %}{{forloop.counter}}
- AWB Number {{i.awbnumber}}
- Special Booking {% if i.specialbooking %}Yes{% else %}No{% endif %}
- Max. Height(CM) {% if i.height %}{{i.height}}{% else %}N.A.{% endif %}
- Max. Length(CM) {% if i.length %}{{i.length}}{% else %}N.A.{% endif %}
- Max. Width(CM) {% if i.width %}{{i.width}}{% else %}N.A.{% endif %}
- Weight of Parcel {% if i.weight %}{{i.weight}}{% else %}N.A.{% endif %}
- Parcel Type {% if i.parceltype %}{{i.parceltype}}{% else %}N.A.{% endif %}
- Selected Vehicle Type {{i.vehicletype|title}}
-
Image
Recipient Details:{{forloop.counter}}
- Name {{i.recipientname}}
- Contact Number {{i.recipientphone}}
- Address {{i.recipientdropoffaddress}}
- Dropoff Time Slot {% if i.dropofftimeslot %}{{i.dropofftimeslot}}{% else %}N.A.{% endif %}
- Dropoff Special Note {% if i.dropoffspecialnote %}{{i.dropoffspecialnote}}{% else %}N.A.{% endif %}
Sender Details:{{forloop.counter}}
- Name {{i.sendername}}
- Contact Number {{i.senderphone}}
- Address {{i.senderpickupaddress}}
- City {% if i.sendercity %}{{i.sendercity}}{% else %}N.A.{% endif %}
- Pickup Date {% if i.pickuptimeslotDate %}{{i.pickuptimeslotDate}}{% else %}N.A.{% endif %}
- Pickup Time Slot {% if i.pickuptimeslot %}{{i.pickuptimeslot}}{% else %}N.A.{% endif %}
- Pickup Special Note {% if i.pickupspecialnote %}{{i.pickupspecialnote}}{% else %}N.A.{% endif %}
Payment Details:{{forloop.counter}}
- Parcel Delivery Charge {{i.price}}
- Special Booking Charge {% if i.specialbooking_charge %}{{i.specialbooking_charge}}{% else %}0.0{% endif %}
- Total Amount {{i.totalamount}}
Driver Details:{{forloop.counter}}
- Name {{i.driverdetails.drivername}}
- Phone Number {{i.driverdetails.drivercountrycode}}-{{i.driverdetails.driverphone}}
- Vehicle Type {{i.vehicletype}}
Data Logging:{{forloop.counter}}
-
{% if i.pickup_proof_method %}
- Pickup Method {{i.pickup_proof_method}}
- Pickup By {% ifequal i.pickup_proof_method 'signature' %} {% if i.pickup_fromperson_name %}{{i.pickup_fromperson_name}}{% else %}N.A.{% endif %} {% endifequal %} {% ifequal i.pickup_proof_method 'scan' %} {% if i.sendername %}{{i.sendername}}{% else %}N.A.{% endif %} {% endifequal %} {% ifequal i.pickup_proof_method 'signature' %}
-
Pickup Signature Proof
- Pickup Time {{i.pickup_datetime}} {% endif %} {% if i.delivery_proof_method %}
- Handover Method {{i.delivery_proof_method}}
- Handover To {% ifequal i.delivery_proof_method 'signature' %} {% if i.delivery_toperson_name %}{{i.delivery_toperson_name}}{% else %}N.A.{% endif %} {% endifequal %} {% ifequal i.delivery_proof_method 'otp' %} {% if i.recipientname %}{{i.recipientname}}{% else %}N.A.{% endif %} {% endifequal %} {% ifequal i.delivery_proof_method 'signature' %}
-
Handover Signature Proof
- Delivered Time {{i.itemsdelivered_datetime}} {% endif %}
- Payment Time {% if i.payment_datetime %}{{i.payment_datetime}}{% else %}N.A.{% endif %} {% ifequal i.deliveryonSafePalaceorNot True %}
-
Safe Palace Image
- Drop-Off Time {% if i.safePalaceDeliverData.dateandTime %}{{i.safePalaceDeliverData.dateandTime}}{% else %}N.A.{% endif %} {% endifequal %}
Failed Delivery Details:{{forloop.counter}}
-
Image
- Time {{i.failedData.dateandTime}}
- Reason Of Faliure {{i.failedData.reason}}
This Parcel is Completed
{{i.id}}
{{i.driverdetails.driverjobid}}
{% endif %}
{% endifequal %}
{% endifequal %}
{% endfor %}
{% ifequal title 'no' %}
{% ifequal parceldata.0.driverexist True %}