{% extends "base.html" %} {% block content %}

Shipment Management

Track and manage all your garment shipments and supplier companies

{{ shipments_active|default(0) }}

Active Shipments

{{ shipments_delivered|default(0) }}

Arrived

{{ shipments_in_transit|default(0) }}

In Transit

{{ shipments_delayed|default(0) }}

Delayed

Shipment Records ({{ shipments|length }})
{% for shipment in shipments %} {% endfor %}
๐Ÿ”ข Shipment Number ๐Ÿข Company ๏ฟฝ๏ธ Products ๏ฟฝ๐Ÿ“… Ordered Date ๐Ÿšš Shipping Date ๐Ÿ“ฆ Receiving Date ๐Ÿ’ฐ Total Cost ๐Ÿ“Š Status โšก Actions
{{ shipment.shipment_number }}
ID: {{ shipment.id }}
{{ shipment.company_name or 'N/A' }}
{% if shipment.products_list %} {{ shipment.products_list }} {% else %} No products {% endif %}
{{ shipment.item_count or 0 }} items
{{ shipment.ordered_date }} {{ shipment.shipping_date or 'TBD' }} {{ shipment.receiving_date or 'TBD' }} BDT {{ "{:,.2f}".format(shipment.shipping_cost or 0) }} {{ shipment.status|title }}
Supplier Companies ({{ companies|length }})
{% for company in companies %} {% endfor %}
๐Ÿข Company Name ๐Ÿ‘ค Contact Person ๐Ÿ“ง Email ๐Ÿ“ž Phone ๐Ÿ“ Address ๐Ÿ’ฐ Balance โšก Actions
{{ company.company_name }} {{ company.contact_person or '-' }} {{ company.email or '-' }} {{ company.phone or '-' }} {{ company.address or '-' }} {% if company.total_due > 0 %} Due: BDT {{ "{:,.2f}".format(company.total_due) }} {% elif company.advance_payment > 0 %} Advance: BDT {{ "{:,.2f}".format(company.advance_payment) }} {% else %} - {% endif %}
{% endblock %} {% block scripts %} {% endblock %}