COD Shipments (courier)
Version: 1.0.1
Route: /{courierSlug} (examples: /tcs, /callcourier, /m-p)
Who can access: Users with View on all-courier (COD Shipments)
![]()
![]()
![]()
![]()
What this page does
Lists all COD shipments for one courier. Search and filter, add/edit/delete, CSV import/export, bulk and single tracking sync, timeline, complaints shortcuts, Customer Msg / WhatsApp, and same-day row color highlights.
Status-filtered URLs use the same screen — see COD Shipments (status).
Layout at a glance
| Area | Content |
|---|---|
| Title | {Courier} - All shipments |
| Toolbar | Layout/columns, filters, search, sync, delete, export, Import, Add Entry |
| Table | Paginated shipment rows |
| Modals | Add/edit, import, tracking, timeline, confirmations |
Steps
- In the sidebar, click a courier name (for example TCS), or open
/{slug}. - Use Search (
Consignment, order ref, mob…) to find rows. - Open filters for date range / status as needed.
- Click Add Entry (Edit permission) to create a shipment.
- Use Import for CSV (single-courier mode from this page).
- Click the refresh / sync control to bulk sync filtered rows (Edit).
- Open a row’s ⋮ menu for edit, timeline, complaint, Customer Msg, Courier Status Sync, delete.
Table (typical columns)
| Column | Notes |
|---|---|
| Consignment# | Tracking number; click opens tracking |
| Booking Date | Shipment date |
| Order Ref. | Internal order; click opens details |
| COD Amount | PKR |
| Destination | City / area |
| Courier Status | Live / synced status |
| Status Date | Last status date |
| Action | Row menu |
Column visibility can be toggled and is remembered locally.
Row actions (menu)
| Action | Permission | Purpose |
|---|---|---|
| Edit | Edit | Update fields |
| Courier Status Sync | Edit | Sync this shipment via courier API / mock |
| Customer Msg | Edit on customer-response to auto-register | WhatsApp + today’s Customer Response entry |
| Complaint | Edit on complaints | Add / open complaint |
| Timeline | View | Status history |
| Delete | Delete | Remove row |
Same-day row colors
| Condition | Color |
|---|---|
| Complaint dated today | Red (wins if both apply) |
| Customer response dated today — In Process | Amber |
| Customer response dated today — Delivered | Green |
| Customer response dated today — Returned | Red |
Only today’s date triggers highlight.
Toolbar permissions
| Control | Need |
|---|---|
| Add Entry / Import / Sync | all-courier Edit |
| Bulk delete | all-courier Delete |
Errors & edge cases
| Situation | Notes |
|---|---|
| Unknown slug | Empty / not-found style state |
| Sync unchanged | Tracking returned same status |
| Demo Mode | Tracking is mocked — see Demo Mode |