{% extends "base.html" %} {% block title %}ပါဆယ် {{ parcel.tracking_no }}{% endblock %} {% block content %}
{{ parcel.tracking_no }}
{{ parcel.sender_name }} ({{ parcel.sender_phone or '' }}) → {{ parcel.receiver_name }} ({{ parcel.receiver_phone or '' }}) · {{ parcel.status }}
နောက်သို့
အချက်အလက်
ဖော်ပြချက်: {{ parcel.description or '-' }}
အထုပ်: {{ parcel.total_packages }} · အလေးချိန်: {{ parcel.total_weight_kg }} kg
{% if booking %}
ဘောင်ချာ: {{ booking.receipt_no }} · ပို့ခ: {{ "{:,.0f}".format(booking.shipping_fee + booking.extra_charges) }} Ks · ပေးပြီး: {{ "{:,.0f}".format(booking.advance_payment) }} Ks · ပေးချေသူ: {{ booking.payer }} · {{ booking.payment_status }}
{% endif %} {% if parcel.cod_amount and parcel.cod_amount > 0 %}
COD ပစ္စည်းဖိုး: {{ "{:,.0f}".format(parcel.cod_amount) }} Ks
{% endif %}
{% if manifests %}
တင်ခဲ့သော ကား/ခရီးစဉ်
{% for row in manifests %}
Manifest {{ row.manifest.manifest_no }} · Trip {{ row.manifest.trip_id[:8] if row.manifest.trip_id else '-' }} · တင်ထုပ် {{ row.item.packages_loaded }} / ချထုပ် {{ row.item.packages_unloaded }}{% if row.item.discrepancy_notes %} · {{ row.item.discrepancy_notes }}{% endif %}
{% endfor %} {% endif %}
{% if cod_record %}
COD ငွေ (ပို့သူထံ ပေးရန်)
COD ပစ္စည်းဖိုး: {{ "{:,.0f}".format(cod_record.cod_amount) }} Ks
{% if cod_record.collected_at %}
ကောက်ခံပြီး: {{ "{:,.0f}".format(cod_record.collected_amount) }} Ks ({{ cod_record.collected_at }})
{% else %}
COD ငွေ မကောက်ရသေးပါ — လက်ခံသူ ထုတ်ယူသည့်အခါ ကောက်ခံပါမည်။
{% endif %}
အခြေအနေ: {% if cod_record.settlement_status == 'SETTLED' %}ပို့သူထံ ပေးပြီး (Settled){% else %}ပေးရန် ကျန် (Pending){% endif %}
{% if cod_record.settlement_status != 'SETTLED' and cod_record.collected_amount and cod_record.collected_amount > 0 %}
ပေးလိုက်သော ငွေသည် ဒီဆိုင်ခွဲ၏ ငွေစာရင်းမှ ထွက်ပြီး Balance Sheet တွင် COD ပေးရန် အကြွေးမှ ထိုပမာဏ လျော့သွားပါမည် (ဝင်ငွေ/အသုံးစရိတ် မဟုတ်ပါ)။
{% endif %}
{% endif %} {% if parcel.status in ['AT_DESTINATION', 'OUT_FOR_DELIVERY'] %}
လက်ခံသူသို့ ထုတ်ပေးရန်{% if parcel.status == 'OUT_FOR_DELIVERY' %} (အိမ်အရောက် ပို့ဆောင်နေဆဲ){% endif %}
{% if parcel.status == 'AT_DESTINATION' %}
နေရာသို့ ပို့ပြီးမှ အောက်တွင် ထုတ်ပေးပြီး မှတ်ပါ — ကျန်ပို့ခ/COD ထိုအချိန်မှ ကောက်ပါမည်။
{% endif %}
ကျန်ရှိ ပို့ခ နှင့် COD ရှိပါက ငွေစာရင်းထဲ အလိုအလျောက် ထည့်ပေးပါမည်။
{% endif %} {% if parcel.status in ['RECEIVED', 'AT_DESTINATION'] %}
ကားပေါ် တင်ရန်
ပါဆယ် စာမျက်နှာမှာ ခရီးစဉ်အတွက် Manifest ဖွင့်ပြီး ဒီပါဆယ်ကို ရွေးတင်ပါ။
ပါဆယ် စာမျက်နှာသို့
{% endif %}
ပြဿနာ မှတ်တမ်း (Problems & Compensation)
{% for e in exceptions %}
{{ e.exception_type }} {{ e.status }} {% if e.description %}
{{ e.description }}
{% endif %} {% if e.resolution %}
{{ e.resolution }}
{% endif %}
{% if e.compensation_amount and e.compensation_amount > 0 %}{{ "{:,.0f}".format(e.compensation_amount) }} Ks{% endif %}
{% else %}
ပြဿနာ မှတ်တမ်း မရှိသေးပါ
{% endfor %} {% if parcel.status != 'DELIVERED' %}
{% endif %} {% if parcel.status not in ['DELIVERED', 'RETURNED'] %}
လျော်ငွေသည် ဒီဆိုင်ခွဲ၏ ငွေစာရင်းမှ ထွက်ပြီး P&L တွင် လည်ပတ်စရိတ်အဖြစ် ပါဝင်ပါသည်။
{% endif %}
လှုပ်ရှားမှု မှတ်တမ်း (Custody Timeline)
    {% for m in movements %}
  • {{ m.movement_type }} {{ branch_names.get(m.from_branch_id, '') }}{% if m.from_branch_id and m.to_branch_id %} → {% endif %}{{ branch_names.get(m.to_branch_id, '') }} {% if m.notes %}
    {{ m.notes }}
    {% endif %}
    {{ m.created_at }}
  • {% else %}
  • မှတ်တမ်း မရှိသေးပါ
  • {% endfor %}
{% endblock %}